Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A7 Multi-Line Chart

Public visualization

Viewing a saved revision (read-only)

8548d0db096f497f83ad8b44b4d9fab4

A7 Multi-Line Chart

0 stars3🌍 Public
NNoah C.
Last edited Mar 8, 2024
Created on Mar 8, 2024

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 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.