Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
PPioustu
Last edited Sep 17, 2022
Created on Jun 1, 2022

This line chart displays temperature measurements from San Francisco over time, using a smooth curve to connect data points across the hourly timestamp series. The x-axis represents time with a bottom-oriented scale, while the y-axis indicates temperature values, formatted through `d3.scaleTime` and `d3.scaleLinear`. Built with D3 v5, the visualization uses `d3.line` with `curveBasis` for smoothing, and renders axis labels and gridlines via `d3.axisBottom`, `d3.axisLeft`, and custom SVG text elements. The chart loads temperature data from a CSV file and encodes it entirely through SVG paths and tick marks.

AI-generated description

This is a simple Scatter Plot Case for learning D3.js.

MIT Licensed

Similar vizzes