Skip to main content
100%

Line Chart Activity 8 Task 3

✓ Published0🌍 Public
VVishnu Sudireddy
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from D3 Starter

This example displays a line chart of annual sales costs from 2000 to 2013, with a light green stroke on an SVG canvas. The chart uses D3 v7’s `scaleBand` for the year axis and `scaleLinear` for the cost axis, drawing the line with `d3.line()`. Data is loaded from a CSV file via `d3.csv`, and axes are rendered using `d3.axisBottom` and `d3.axisLeft`. The visualization includes red axis labels and a centered title, highlighting cost fluctuations over time.

AI-generated description

Task 3 of Actiity 8. Demonstration of line chart.

MIT Licensed

Similar vizzes