Skip to main content
100%

Task9_Question2

✓ Published0🌍 Public
KKeerthi
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This area chart visualizes carbon emissions over time, comparing liquid fuel and gas fuel consumption across multiple years. The data is loaded from a remote CSV file using d3.csv, with parsed numeric values for both fuel types. The visualization uses d3.area generators to create two semi-transparent filled regions, with steelblue representing liquid fuel and orange representing gas fuel. The chart includes linear scales for both axes, axis labels, and a legend, all rendered as SVG elements within an 800x400 pixel canvas.

AI-generated description

A demonstration of Area chart.

MIT Licensed

Similar vizzes