🌍 Public
Viewing a saved revision (read-only)
1e7930ca57e94de58e391da48fce1067
Temperature in San Francisco Scatter Plot Area
This example visualizes temperature readings over a week in San Francisco using a time-series area chart. The SVG rendering relies on D3 v5’s `scaleTime`, `scaleLinear`, and `area` generator with `curveBasis` to create a smooth maroon filled region, while the axes are drawn with `axisBottom` and `axisLeft`. The code loads CSV data from a VizHub dataset, parses timestamps and temperatures, and applies margins, tick styling, and axis labels. Circle elements are styled in CSS but are not explicitly appended, so only the area path and gridlines appear.
AI-generated descriptionThis scatter plot shows data about temperatures in a week in SF city.