Scatter Plot with Color Legend
This scatter plot visualizes death statistics by year and cause, with each point colored by sex using a red and blue ordinal scale. The React-based component uses D3 v5 scales for positioning axes and circles, rendering as SVG. A color legend on the right explains the sex encoding, while dropdown menus allow selecting different death metrics. The current implementation filters data by age group, though the README notes the sex, ethnicity, and age menus are not fully functional. Data is loaded from a CSV file via D3’s CSV parser.
AI-generated descriptionA visualization constructed using React that shows the number of various types of deaths by demographics.
The data shown here comes from Gist: Deaths by Suicide, Firearms, Alcohol.
Currently the Sex, Ethnicity, and Age Group menus don't filter. The current graph shows male points as blue and female points as red. The various points in each year are the different ethnicities. The age group currently isn't being used and all age groups are being showed.