Skip to main content
100%

Area Chart - Trend

✓ Published0🌍 Public
Ggayathrisaxena23@gmail.com
Last edited Mar 30, 2026
Created on Mar 30, 2026
Forked from React & D3 Starter

This area chart visualizes the increasing trend of a value over a five-year period, using a light blue fill beneath the line to emphasize the magnitude of change from 2018 to 2022. Built with D3 v7 as an SVG, the code sets up linear scales and the `d3.area` generator, with the y-axis baseline anchored at the chart’s bottom. Axes, labels, and a simple dataset are rendered directly in JavaScript within an HTML file.

AI-generated description
MIT Licensed

Similar vizzes