Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Viewing a saved revision (read-only)

97b42cb9047643878f8fa338edc648b1

Untitled

0 stars0🌍 Public
Ssitaramchallapalli
Last edited Jul 2, 2022
Created on Jul 2, 2022

This visualization displays the population of various states over time using an interactive line chart. The chart, rendered as an SVG with D3 v4, plots year on the x-axis and population on the y-axis. Hovering over the chart triggers a tooltip that ranks states by their population for that specific decade, with a vertical line marking the selected year. The code uses `d3.line`, `d3.axisBottom`, and `d3.axisLeft` to generate the chart, and it loads data from a CSV file hosted on GitHub Gist.

AI-generated description