Skip to main content
100%

Activity8Task3-linechart

✓ Published0🌍 Public
Ssreekarthanda@gmail.com
Last edited Jul 18, 2023
Created on Jul 18, 2023
Forked from Hello VizHub

This line chart displays the cost of sales from 2000 to 2013, with a light green stroke highlighting the trend across yearly data points. The visualization uses D3 v7 to load a CSV file via `d3.csv`, map years to a `d3.scaleBand` for the x-axis, and costs to a `d3.scaleLinear` for the y-axis. The line is drawn using `d3.line`, with red axis labels and a centered title. The SVG rendering approach is visible, with margins and axes configured for clarity.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes