Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

linechart

Public visualization

Viewing a saved revision (read-only)

3f59c64bc2674d928366da7e9e1f3095

linechart

0 stars0🌍 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.