Skip to main content
100%

linechart

✓ Published0🌍 Public
Hharipriyaa07
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This line chart displays the cost of sales from 2000 to 2013, with each year plotted against its corresponding cost value on a linear scale. The visualization uses D3 v7 APIs including `d3.csv` to load data, `d3.scaleBand` for the categorical year axis, `d3.scaleLinear` for the cost axis, and `d3.line` to generate the path geometry with a light green stroke. The chart is rendered as an SVG with axes, labels, and a title, with data coming from a local CSV file.

AI-generated description

AA demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes