Temperature in San Franisco Scatter Plot
✓ Published1🌍 Public
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 descriptionMIT Licensed