Skip to main content
100%

Temperature in SF Line Chart

✓ Published0🌍 Public
Lloicvdk
Last edited Dec 11, 2020
Created on Jul 22, 2020

This chart shows a week of temperature readings in San Francisco as a smooth orange line, with time on the x-axis and temperature on the inverted y-axis. It uses D3 v5 with an SVG rendering approach, reading data from a CSV file via `d3.csv`. The code employs `scaleTime`, `scaleLinear`, `axisLeft`, `axisBottom`, and `line` with `curveBasis` to generate the path, while grid lines are created through tick sizes.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes