Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3.js Line Chart

Public visualization

D3.js Line Chart

0 stars0🌍 Public
Iiamsravan
Last edited Apr 23, 2023
Created on Apr 23, 2023
Forked from D3.js Line Chart

This line chart visualizes customer counts per year from 2000 to 2010, with the data loaded from a CSV file using `d3.csv`. The SVG visualization uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, rendering the trend as a thick steel-blue stroke. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while the line itself is built via the `d3.line` generator. The chart includes labeled axes for "Year" and "customers," following the reusable chart pattern from Bostock’s “Towards Reusable Charts.”

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed