Skip to main content
100%

Line Chart-project

✓ Published0🌍 Public
AArun
Last edited Apr 27, 2024
Created on Apr 27, 2024
Forked from Line Chart

This visualization shows violent crime rates per 100,000 people across U.S. states from 2000 to 2019, with each state represented as a colored line and dot. The chart uses d3.line and d3.scaleOrdinal to draw paths, while d3.legendColor from d3-legend renders a color legend. Hovering over dots reveals exact crime values and state names via SVG title elements. Data comes from the CORGIS dataset, processed with d3.csv and d3.group, and rendered as an SVG using D3 v7.

AI-generated description

Visualization of crime rates (per 100k people) by state from the CORGIS dataset made with D3. Color legend and threshold code from Susie Lu. Implementation from D3 Graph Gallery.

Hover over dots to see precise values. Fullscreen to see legend.

MIT Licensed

Similar vizzes