Skip to main content
100%

Fork of Area Chart

✓ Published0🌍 Public
Bbugfree55
Last edited Jul 1, 2022
Created on Jul 1, 2022
Forked from HTML Starter

This example displays an area chart of two ordered numeric variables over time, using a gradient-filled path to show the amount across dates. It loads data from a CSV via `d3.csv`, parses dates with `d3.timeParse`, and maps values using `d3.scaleTime` and `d3.scaleLinear`. The SVG is built with `d3.area` and `d3.axisBottom`/`d3.axisLeft`, while the React-based page styles the title via CSS. The chart renders in a fixed-size SVG with margins and labels for both axes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes