Ir al contenido principal

Tracking the "flattening" of the curve during the Covid19 ("Coronavirus") pandemic. A visualization proposal.

ESPAÑOL: Este projecto inició el 21 de marzo de 2020. Originalmente fue publicado en Google Sheets {as Colour tracking} y ahora lo presento en D3.js. Esta versión está disponible en GitHub, se ve mucho mejor y es mucho más rápida de ver y cargar. Espero que les guste y les sea útil. Los detallos los encuentran debajo de la gráfica.
ENGLISH: This project started on the 21st of March, 2020. Originally published in Google Sheets {as Colour tracking}, now a D3.js version is available on GitHub. It looks nicer and is much faster and efficient. I hope you like it and find it useful. Details below the heatmap.




¿Cómo funciona? / How does it work? 


SPANISH

"Rastreo de colores" presenta los casos registrados día a día para producir una matriz graduada o mapa de calor, similar a un mapa de ADN. Esta gráfica ayudar a visualizar los datos registrados en todo el mundo de un vistazo.

Los datos se obtienen de JHU - CSSEGISandData / COVID-19, pero han sido pre-procesados usando Google Sheets. La página de acumulación, análisis y procesamiento de datos preliminar es esta => Track Covid-19 Pandemic curve

Se utilizó un nuevo archivo para procesar de forma recurrente los datos en forma de matriz al formato lista. Esa tabla, está disponible aquí caseslistCovidMonthlyUpdate

La tabla se actualizará en GitHub cada mes, este ejercicio maneja la tabla con corte al 20 de septiembre de 2020.

En la figura de abajo se puede ver el cambio de de una plataforma a otra. Hay más dinamismo, más rapidez tanto para visualizar los datos como para cargarlo, se mejoró la visualización de los datos y se agregó un ventana emergente informativa para saber con precisión cuántos casos se reportaron en tal o cual día en un país determinado.

Cualquier propuesta de mejora a la gráfica, al código o a la forma de visualizar los datos es bienvenida.

Todos los datos son abiertos.

ENGLISH

"Colour tracking" presents the cases in a day-by-day fashion to produce a shading matrix or heatmap, similar to a DNA heatmap. It helps to visualize all recorded cases in the world at a glance. 

The data used here comes from JHU - CSSEGISandData / COVID-19, but it has been pre-processed using Google Sheets. The webpage where data has been recorded, analysed and processed is this one => Track Covid-19 Pandemic curve
A new file was used to process new data iteratively such that array data is transformed into a list. This table is available here: caseslistCovidMonthlyUpdate

The table will be updated in GitHub every month. This exercise uses a table with dates updated until the 20th of September.

In the figure below it is shown the change from one platform to the other. There is more dynamism, more speed either to visualize data or to load it. Also, it was improved data visualization a  tooltip was added to let you know with precision how many cases were reported at any single day per country.

Any improvement proposal to the chart, to the code or to the way we could visualize data is welcome.

All the information is open.


Update
Update from Google Sheets heatmap proposal to D3.js proposal.




Comentarios

Entradas más populares de este blog

Parpadeo

Como un átomo. Como una mota de polvo. Como un montón de células o Como miles de átomos. Como sedimento acumulado por años. Como años que pasan en un parpadeo. Parpadeo geológico. Lustros. Las células que se solidifican. Las rocas que construyen montañas. Montañas que forman continentes y mares e historias. Millones de vidas. Parpadeo planetario. Caminando hacia adelante cargando el bulto del peso del tiempo. Atrapado por un magnetar gigante e invisible. Un monstruo siniestro infinito. Tragados infinitamente en un árbol materno de dolor eterno. Ora vita, ora morte. Aqua. Negro.  Sagitario A*, M31*, Tonantzintla 618.  Como polvo de estrellas. Parpadeo cósmico. Un instante apenas. Belleza prístina. Sonido y colores desconocidos, increíbles y misteriosos. Olores jamás olidos. Texturas imposibles de sentir. Sabores inimaginables. No puedo caminar. Correr parece sumamente ajeno. El tiempo se detiene para siempre. El reloj sigue corriendo. El tiempo corre. Yo no. Sigo atrapado queri...

Project Hail Mary, or: Saving Private Hollywood?

The WEIRD Hollywood society launched a Hail Mary movie into the dead zone of its current crisis, turning a popular hard Sci-Fi book into a never-ending collection of comic relief reels totalling 2.5 hours. And it did not exactly stick the landing. It started innocently enough. When I read the interview Perri Thaler, from Science , did with Wendy Freedman, an astronomer at the University of Chicago, I became genuinely interested in the Project Hail Mary movie. The science sounded fascinating — the kind of premise that makes you feel slightly smarter just for knowing about it. I had not been in a movie theater in a while, and when I started spotting the posters at bus stops and some colleagues mentioned they wanted to go, I joined them. What followed was completely unexpected. But before I get to that, let me dwell for a moment on the title — because, as it turns out, it is something of a foreshadowing. The term "Hail Mary" has two primary meanings: it is a traditional ...

Los ahuejotes son como huauzontles gigantes

Introducción Se me ocurrió hacer una pequeña reseña sobre palabras como ahuautle, ahuehuete, ahuejote o huautli .  Esta reseña se las prometí desde el 3 de febrero y aquí va, chiquita, pero va. Ojo, mi lengua materna es español y esta reseña etimológica es relativa al Nahuatl «clásico», es decir, un idioma que como tal ya no se habla y sólo podemos encontrar en fuentes históricas del siglo XVI. Por diferentes circunstancias sociales, lingüísticas y pragmáticas para referirse a acciones, animales, objetos, entre otras cosas que no tenían símil en español, un montón de esas palabras «clásicas» se convirtieron en extranjerismos del español llamados nahuatlismos, y si bien en el Nahuatl contemporáneo, vivito y coleando, algunas de estas palabras son sinónimas o se parecen, siguen existiendo o se usan en su versión españolizada (e.g. ahuejote). No debemos olvidar que algunos significados han cambiado y por tanto algunas raíces etimológicas para un hablante de Nahuatl podrían resultar ...