Skip to main content
100%

Fork of ICE-7 Line Chart

✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from ICE-7 Line Chart

This fork of the ICE-7 line chart visualizes the cost of sales from 2000 to 2013, plotting yearly values as a single red line. It uses d3.scaleTime for the x-axis, d3.scaleLinear for the y-axis, and d3.line to generate the path, with d3.axisBottom and d3.axisLeft rendering labeled axes. The chart loads CSV data from a GitHub gist, parses the year and cost fields, and renders an SVG within a centered container. Axes include gridlines via tickSize, and the code uses D3 v5.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes