🌍 Public
Viewing a saved revision (read-only)
d9c401b1d50b4ed7ac16142e8465997e
Working with Time
This example visualizes the temperature of a week in San Francisco over time, using a line chart to show the trend. The visualization is built with React and D3 v6, rendering to SVG. It loads CSV data from a URL, maps the timestamp and temperature fields, and uses `scaleTime` and `scaleLinear` for the axes. The smooth curve is created with `curveNatural` from the `line` API, with axis labels and tick marks styled via CSS.
AI-generated description