Working with Time
✓ Published1🌍 Public
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 descriptionMIT Licensed