🌍 Public
Viewing a saved revision (read-only)
a0ad8fe50c2a4055b9b05da7314ed89d
Projections for SSN
This example displays temperature changes in San Francisco over a week using a time-series line chart rendered as SVG. The code loads data from a CSV file and maps timestamps to the x-axis and temperature to the y-axis, with a smooth curve via `d3.line` and `curveBasis`. It uses `d3.scaleTime`, `d3.scaleLinear`, and `d3.axisLeft`/`axisBottom` to build axes, while `d3.extent` sets domains. The visualization includes labeled axes and a title, styled with custom CSS for the maroon line and grid ticks.
AI-generated description