Skip to main content
100%

Area Chart

✓ Published0🌍 Public
MManoj Kolluri
Last edited Jul 7, 2022
Created on Jul 7, 2022
Forked from Line Chart

This example visualizes carbon emissions over time using an area chart. The x-axis represents total emissions, while the y-axis represents the year, with the green filled area and blue stroke line showing the trend. Built with D3 v5 and React, it loads CSV data and renders as an SVG. The code uses `scaleLinear`, `axisBottom`, `axisLeft`, and `area` with `curveBasis` for smooth interpolation, along with custom axis labels and title styling.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes