🌍 Public
Viewing a saved revision (read-only)
9d90864f7e3248098876780316d3e0b6
Temperature in SanFrancisco
This visualization displays daily temperature measurements in San Francisco over time, with each point representing a single day’s temperature. The chart uses a scatterplot with circular markers to show the relationship between date and temperature. The code leverages D3 v5’s `scaleTime` for the x-axis, `scaleLinear` for the y-axis, and the `axisBottom` and `axisLeft` helpers to render gridlines and ticks. Data is loaded from a CSV file, with timestamps parsed into `Date` objects and temperatures converted to numbers. SVG is used for rendering, with a clean layout featuring styled axis labels and a title.
AI-generated descriptionReact Starter code.