Deaths by Cause
This interactive line chart visualizes the number of deaths by cause in local jails from 2005 to 2014, using data from a CSV file. The chart allows users to toggle categories via a legend, displaying trends for causes such as heart disease, suicide, and accidents alongside aggregated totals. Built with D3.js v3 and the D3plus library, the visualization uses SVG paths and scales for rendering, with an animation for legend selection. A text panel explains the key insight that suicides remain the leading cause, noting a sharp dip in 2008 coinciding with a spike in missing data.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/Sithal95/'>Sithal95</a>'s block: <a href='http://bl.ocks.org/Sithal95/06cca7ff6575751699be5524cd1f3a70'>fresh block</a>