Skip to main content
100%

Fork of linechart

✓ Published0🌍 Public
BBhavanaGIrni
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from linechart

This example visualizes the cost of sales from 2000 to 2013 using a line chart rendered as an SVG. The chart displays yearly cost data loaded from a CSV file, with year on the x-axis and cost on the y-axis. It uses D3 v7 with `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.line` to generate the path. Axis labels are styled in red, and the line itself is drawn with a lightgreen stroke.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes