Skip to main content
100%

Temperatures in san Francisco line chart

✓ Published0🌍 Public
Aakshayms0
Last edited Oct 23, 2022
Created on Oct 23, 2022
Forked from HTML Starter

This line chart shows hourly temperature readings in San Francisco over one week in March 2015, with time on the x-axis and temperature in degrees on the y-axis. The visualization uses D3 v7’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render a smooth path. Data is loaded from a CSV file using `csv`, parsed into JavaScript `Date` objects and numbers, then drawn as an SVG with custom-styled axes and gridlines. The maroon line plot includes a title and axis labels.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes