Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

myForkLine

Public visualization

myForkLine

0 stars0🌍 Public
Iiahtisham
Last edited Jun 23, 2022
Created on Jun 23, 2022
Forked from ice7-3

This example displays a line chart of population values across different states, with time on the x-axis and population count on the y-axis. Using D3 v5, it loads CSV data from a GitHub gist via `d3.csv`, then renders an SVG with `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators. The chart includes labeled axes, tick marks, and a red line path, with margins and formatting configured through D3’s selection and scale methods.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed