Skip to main content
100%

Activity8_Task3

✓ Published0🌍 Public
Ssaikrishnabussa
Last edited Jul 20, 2023
Created on Jul 20, 2023
Forked from linechart

This visualization shows the cost of sales from 2000 to 2013 using a line chart rendered as an SVG. The code loads data from a CSV file using `d3.csv` and maps the cost values to numeric format. It uses `d3.scaleBand` for the year axis and `d3.scaleLinear` for the cost axis, with the line drawn using the `d3.line` path generator. Axis labels are styled in red with large font sizes, and the chart includes a light green stroke for the line.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes