🌍 Public
Viewing a saved revision (read-only)
b8e59781c65e4a7f95d77fe70af64705
Temperature in SF Scatter Plot with D3.js!
This scatter plot visualizes temperature in San Francisco over time, with each circle representing a temperature reading. The data is loaded from a CSV file, parsed, and rendered as an SVG using D3 v6. The code uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to map time and temperature values to coordinates, with axes showing tick marks, labels, and a titled chart. Circles are semi-transparent steel blue, and the margin-based layout positions the plot within a 960x500 SVG canvas.
AI-generated descriptionA demonstration of how to start using D3 version 6.