Skip to content

Mapping and analyzing COVID-19 data in NYC

Notifications You must be signed in to change notification settings

cgettings/Exploring-COVID-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map of cumulative COVID-19 cases in NYC

Inspired by the COVID-19 Data by ZIP Code map on NYC's COVID data website

See map at https://cgettings.github.io/Exploring-COVID-Data/data_by_modzcta_map.html

Code

R

Initial {leaflet} code: code/mapping_cumulative_data.R

JavaScript

Adding tooltips and color scales for ZIP codes; adding a label for date the data was downloaded: code/js/add_tooltips_and_legends.js

TODO:

  • Add persistent stats label on click
  • Show changes over time with slider control
  • Maintain selected ZIP code when switching base layers
  • Add graph overlay on click