ICE-7 Line Chart
✓ Published35🌍 Public
This chart displays the cost of sales from 2000 to 2013, using a single red line to show the trend over time. It loads CSV data from a GitHub Gist and renders the visualization as an SVG. The code leverages D3 v5’s `scaleTime`, `scaleLinear`, `line`, `axisLeft`, and `axisBottom` APIs to build the chart, with labelled axes and a title. The line path is generated using `d3.line` and the data is parsed so that years become Date objects.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed