Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
Nnsadath
Last edited Dec 10, 2020
Created on Dec 9, 2020

This example visualizes a week of temperature measurements in San Francisco as a smooth line chart, with time on the x-axis and temperature on the y-axis, along with labeled axes and a title. The data is loaded from a CSV file using `d3.csv`, parsed into `Date` objects and numeric values, and rendered as an SVG. The visualization uses `d3.scaleTime` and `d3.scaleLinear` for scales, `d3.line` with `curveBasis` for the path, and `d3.axisBottom` and `d3.axisLeft` for the axes, all styled via CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes