Skip to main content
100%

A week in San Francisco - Scatter plot

✓ Published2🌍 Public
YYedrup
Last edited Mar 11, 2020
Created on Mar 11, 2020
Forked from scatter plot

This scatter plot visualizes temperature readings in San Francisco over a week, with time on the x-axis and temperature on the y-axis. Each circle represents a data point, rendered in SVG with a steelblue fill and opacity. The code uses D3 v5 functions like `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes and grid lines. Data is loaded as CSV from a remote dataset, parsed into JavaScript Date objects and numeric values, then bound to circles via `selectAll` and `enter`. A rotated y-axis label and title are included for clarity.

AI-generated description
MIT Licensed

Similar vizzes