Skip to main content
100%

Fork of D3.js Line Chart

✓ Published0🌍 Public
Ppemmasaniprudhvinadh
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from D3.js Line Chart

This line chart visualizes customer counts per year from 2000 to 2010 using data loaded from a CSV file. The SVG rendering employs D3.js v7 with a band scale for the x-axis and a linear scale for the y-axis, with axes generated via d3.axisBottom and d3.axisLeft. The line path is drawn using d3.line() with half-bandwidth offsets to align points with categorical year labels. Axis labels “Year” and “customers” are added as SVG text elements, while the chart is styled with steelblue strokes and thick axis text.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes