Skip to main content
100%

Fork of ICE-7 Line Chart

✓ Published0🌍 Public
Vvryvarma5577@gmail.com
Last edited Mar 29, 2023
Created on Mar 29, 2023
Forked from ICE-7 Line Chart

This line chart visualizes the cost of sales from 2000 to 2013, plotting year on the x-axis and cost on the y-axis. The chart uses d3.scaleTime and d3.scaleLinear for axis scaling, with d3.line generating the path. Axes are rendered via d3.axisBottom and d3.axisLeft, with grid lines created through tickSize. Data is loaded as CSV from a GitHub gist, with date parsing for the year field. The SVG rendering includes labeled axes and a title, styled via CSS classes for ticks, labels, and the line path.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes