REPL notebook for COVID19 visualization article – example code to produce maps in Vega from Clojure
I wanted to better understand COVID-19, so I cloned Johns Hopkins’
daily-updated dataset, fired up a Clojure REPL, and started massaging
the data into a visualization using the Vega grammar.
This repository is a REPL notebook to demonstrate and extend
that exploration.
A cleaned-up subset of the code I used to produce the visualizations
in the article is in the covid19-in-the-repl
namespace. If you’re
new to Clojure or just want to understand the article, I recommend
starting there:
applied_science.covid19-clj-viz.covid19_in_the_repl
Other namespaces are for exploring and visualizing COVID-19 data in other,
similar ways:
italian-situation
replicates Alan Marazzi’s article The Italianitalia
visualizes COVID-19 cases in Italy [contributed by Davidindia
visualizes COVID-19 cases in India [contributed by Noorsouth-america
visualizes COVID-19 cases in South America byexplore
is a grab-bag of general visual explorations – line & barchina
and deutschland
are for transforming country-specificsource/*
namespaces are for parsing of source data (e.g. Johns
Some namespaces depend on cloning other repos into resources
. For
instance, we put data from Italy’s Civil Protection
Department into
resources/Italia-COVID-19 to support visualizations in the italia
and italian-situation
namespaces.
MIT License
Copyright (c) 2020 David Liepmann, Jack Rusher