Viewing a saved revision (read-only)
33f58ed87fb248598223d2ad2ef6be91
A7 Multi-Line Chart
This chart visualizes violent crime rates per 100,000 people across U.S. states from 2000 to 2019, using data from the CORGIS dataset. Each state is shown as a multi-line path with colored dots for individual data points, and hovering reveals exact values. The visualization is built with D3 v7, using `d3.csv` for data loading, `d3.line` for path generation, and `d3.legendColor` from the d3-legend library for the color legend. Axes are rendered via `d3.axisBottom` and `d3.axisLeft`, with an ordinal color scale distinguishing states.
AI-generated descriptionVisualization of total cancer deaths by state from the CORGIS dataset made with D3. Color legend and threshold code from Susie Lu.
Hover over bars to see precise values. Fullscreen to see legend.