🌍 Public
Viewing a saved revision (read-only)
074a5c5df90a4fef9908c25cca04e5f9
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 descriptionA bare minimum HTML page.
See also React Starter.