Fork of ICE-7 Line Chart
✓ Published0🌍 Public
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 descriptionA demonstration of how to start using D3 version 6.
MIT Licensed