Skip to main content
100%

ICE 7 The Area Chart

✓ Published0🌍 Public
AAniv Chakravarty
Last edited Mar 25, 2023
Created on Mar 24, 2023

This example visualizes CO2 emissions in India from 1860 to 2022 as a filled area chart, with a blue line tracing the emission trend atop a translucent yellow region. It uses d3.csv to load the dataset, d3.scaleLinear for both axes, d3.line and d3.area to generate the paths, and d3.axisBottom and d3.axisLeft with gridlines for the axes. The SVG rendering includes custom axis labels and tick formatting, with styling applied via CSS classes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes