Skip to main content
100%

Fork of ICE7 Line Chart Q3

✓ Published0🌍 Public
Aaashrithd4
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE7 Line Chart Q3

This visualization depicts India's deaths from 1960 to 2020, using a line chart to trace consumption values over time. The code employs d3.scaleTime and d3.scaleLinear for the axes, with d3.axisBottom and d3.axisLeft to generate tick marks and labels. The line is drawn using d3.line, which maps data points to pixel coordinates. Data is loaded via d3.csv from a GitHub-hosted CSV file, with year values parsed as dates. The chart is rendered as SVG, with styled axes, labels, and a blue line path defining the trend.

AI-generated description
MIT Licensed

Similar vizzes