All Projects → applied-science → covid19-clj-viz

applied-science / covid19-clj-viz

Licence: MIT License
REPL notebook for COVID19 visualization article – example code to produce maps in Vega from Clojure

Programming Languages

clojure
4091 projects

Projects that are alternatives of or similar to covid19-clj-viz

DotNetWithCMake
Your swiss army knife for creating .NET assemblies with CMake and integrating unmanaged code.
Stars: ✭ 50 (+13.64%)
Mutual labels:  example-code
tensorflow-stack-ts
TensorFlow.js Full-Stack Starter Kit
Stars: ✭ 33 (-25%)
Mutual labels:  vega-lite
covidviz
Professional visualizations of COVID-19, emulating NYT, The Guardian, Washington Post, The Economist & others, using only Python & Altair.
Stars: ✭ 24 (-45.45%)
Mutual labels:  vega-lite
modern async cpp example
Just some example code from a lecture about modern async C++
Stars: ✭ 34 (-22.73%)
Mutual labels:  example-code
JavaExamples
Java material for course CCPS 209 Computer Science II, by Ilkka Kokkarinen.
Stars: ✭ 18 (-59.09%)
Mutual labels:  example-code
react-gojs-example
Example to show how to use gojs in a React/Redux environment
Stars: ✭ 33 (-25%)
Mutual labels:  example-code
examples
Example code. You probably don't want to use any of this.
Stars: ✭ 33 (-25%)
Mutual labels:  example-code
streamlit-vega-lite
A Streamlit component to render interactive Vega, Vega-Lite, and Altair visualizations and access the selected data from Python
Stars: ✭ 59 (+34.09%)
Mutual labels:  vega-lite
flasked-altair
Altair/Vega-Lite + Flask for easy web visuals
Stars: ✭ 50 (+13.64%)
Mutual labels:  vega-lite
datasette-dashboards
Datasette plugin providing data dashboards from metadata
Stars: ✭ 65 (+47.73%)
Mutual labels:  vega-lite
docker
Docker-related material to setup, configure and develop with micro-ROS hardware.
Stars: ✭ 32 (-27.27%)
Mutual labels:  example-code
visualisation-lab
An experimental visualisation workbench built using Svelte
Stars: ✭ 17 (-61.36%)
Mutual labels:  vega-lite
RustLabs
The Ultimate Workshop Track for #Rust Developer
Stars: ✭ 22 (-50%)
Mutual labels:  example-code
deloominator
Shed the light on your data!
Stars: ✭ 47 (+6.82%)
Mutual labels:  vega-lite
SplashScreenExample
How to implement a Splash Screen in ReactNative
Stars: ✭ 14 (-68.18%)
Mutual labels:  example-code
Game-Examples
Godot game examples for gotm.io - the Godot Platform!
Stars: ✭ 27 (-38.64%)
Mutual labels:  example-code
blockchain
Blockchain, basic implementation in go
Stars: ✭ 16 (-63.64%)
Mutual labels:  example-code
idaplugins
Random IDA scripts, plugins, example code (some of it may be old and not working anymore)
Stars: ✭ 24 (-45.45%)
Mutual labels:  example-code
Programmatic-Control-Examples
An index of all remote instrument communication examples and links to discussion threads written by the community, for the community.
Stars: ✭ 27 (-38.64%)
Mutual labels:  example-code
nl4dv
A python toolkit to create Visualizations (Vis) using natural language (NL) or add an NL interface to existing Vis.
Stars: ✭ 63 (+43.18%)
Mutual labels:  vega-lite

COVID19 Visualizations in Clojure with Vega

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.

Usage

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:

  1. Clone the Johns Hopkins dataset repo to resources/ within this repo
  2. Open applied_science.covid19-clj-viz.covid19_in_the_repl
  3. Start a Clojure REPL (based on deps.edn, not Leiningen)
  4. Evaluate forms one at a time, with a browser window open next to your editor so you can see the visualizatons as you go

Other namespaces are for exploring and visualizing COVID-19 data in other, similar ways:

  • italian-situation replicates Alan Marazzi's article The Italian COVID-19 situation without Panthera, as a demonstration of using orthodox Clojure
  • italia visualizes COVID-19 cases in Italy [contributed by David Schmudde]
  • india visualizes COVID-19 cases in India [contributed by Noor Afshan Fathima]
  • south-america visualizes COVID-19 cases in South America by countries and in Peru by regions [contributed by Yuliana Apaza and Paula Asto]
  • explore is a grab-bag of general visual explorations – line & bar charts, choropleths
  • china and deutschland are for transforming country-specific data in support of visualizations
  • source/* namespaces are for parsing of source data (e.g. Johns Hopkins, the World Bank) into usable structures

choropleth of Germany choropleth of India choropleth of Italy by province choropleth of Peru choropleth of South America

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.

License

MIT License

Copyright (c) 2020 David Liepmann, Jack Rusher

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].