Skip to content

Visualizations

ZiyiWang32 edited this page Dec 13, 2019 · 7 revisions

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.

Nationwide View

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)

Nationwide death rates (counties)

Nationwide death rates (counties)

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.

Nationwide death rates (state and country)

Nationwide death rates (state and country)

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.

State View

Mortality rate

Mortality rate

Geo clusters

Geo cluster

Mortality trend

Mortality trend

Top factors

Top factors

Feature View

Box plot

Boxplot relation

Scatter plot

County cluster

Factor distribution

Factor distribution