Skip to main content
100%

Area Chart

✓ Published1🌍 Public
MMatthew Rubino
Last edited Jun 4, 2021
Created on Jun 4, 2021

This area chart visualizes temperature readings in San Francisco over time, using a smooth curved path filled with maroon to highlight the trend. The visualization relies on D3 v6 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `area` with `curveBasis` to generate the SVG path. Data is loaded from a CSV file via `csv()`, with timestamps parsed as dates and temperatures as numbers. Grid lines extend across the chart, and axis labels and a title are rendered as SVG text elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes