🌍 Public
Viewing a saved revision (read-only)
cb7e4ad7d0a94b2096d71d6c6ee64546
Temperature in San Franisco Scatter Plot
This scatter plot displays a week of San Francisco temperature readings over time, with each circle representing a data point. The visualization uses D3 v5’s `scaleTime` and `scaleLinear` to map timestamps and temperatures to SVG coordinates, while `axisBottom` and `axisLeft` generate the labeled axes. Data is loaded as CSV via D3’s `csv` method, with timestamps parsed into date objects and temperatures converted to numbers. Circle positions and radii are set directly on SVG elements, and margin-based scaling ensures the plot fits the 960x500 viewport.
AI-generated description