Skip to main content
100%

D3 Temperature in San Francisco Scatter Plot

✓ Published1🌍 Public
Aadbirch
Last edited Jan 23, 2023
Created on Jan 23, 2023

This scatter plot visualizes temperature readings over a week in San Francisco, with time on the x-axis and temperature on the y-axis. Each circle represents a single data point, positioned using d3.scaleTime and d3.scaleLinear, and the plot includes labeled axes with gridlines. The code loads CSV data containing timestamps and temperatures, parses them with JavaScript's Date and number coercion, and renders the SVG using d3-selection, d3-axis, and d3-extent.

AI-generated description
MIT Licensed

Similar vizzes