🌍 Public
Viewing a saved revision (read-only)
a3e7a8410e784fe99abbc65952cfd543
Working with Time-Line Chart
This example shows a line chart of weekly temperature readings in San Francisco, with time on the x-axis and temperature on the y-axis. The chart is rendered as an SVG using React, with D3’s `scaleTime` and `scaleLinear` for axis scaling and `line` with `curveNatural` for the path. Data is loaded via `d3.csv` from a remote CSV file, and axes are generated using custom React components that call D3’s `.ticks()` method.
AI-generated descriptionA line chart of Weekly Temperature of SF