-
Notifications
You must be signed in to change notification settings - Fork 8
Visualizations
The visualizations for each page are dynamically created based on the choice of State, Cause of Death, County, and Factor using standard R packages. The maps are created using Leaflet.
The plot for Nationwide Map is first generated with the selected cause-of-death in www/d3_animation.js, and then saved in the form of png by running national_map_generator.R. This procedure helps optimize the run-time of the app in a great extend. Whenever the users make changes on the data, the user should call national_map_generator to implement the changes on the map.(Note: running national_map_generator takes 5 to 10 minutes)
The nationwide plot clusters the death rate data for all counties in the United States of America where lighter shades describe lower death rates while darker colors describe higher death rates. The plot describes mortality rate per 100,000 for people ages 25-to 64 due to various causes of death for three year periods for counties.
The user can switch back and forth between the various three year periods:
- 2000-2002
- 2003-2005
- 2006-2008
- 2009-2011
- 2012-2014
- 2015-2017.
The line plot describes the increase/decrease of mortality rate per 100K people for both United States of America and the selected state from the year period 2000-2002 to 2015-2017.