Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Ggregosaure
Last edited Aug 14, 2020
Created on Aug 11, 2020
Forked from Scatter Plot

This example plots temperature readings from a CSV file over time, showing the daily temperature cycle in San Francisco. The visualization uses D3 v5 with React, rendering an SVG scatter plot where each circle represents an hourly observation. The code employs D3’s `scaleTime` and `scaleLinear` to map timestamps and temperatures to coordinates, with `axisBottom` and `axisLeft` for labeled axes. The data is loaded via `d3.csv`, and circles are appended to the SVG with a fixed radius and red fill at reduced opacity.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes