Skip to main content
100%

Activity 8 _task3

✓ Published0🌍 Public
Mmandadi1999
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from linechart

This example visualizes the cost of sales from 2000 to 2013 using a line chart rendered in SVG. It shows the yearly cost values from the CSV data, with a red title and axis labels, and a light green line connecting the data points. The code uses D3 v7 to load the data with `d3.csv`, define a linear scale for the y-axis and a band scale for the x-axis, and draw the line via `d3.line`. The axes are added using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes