Skip to main content
100%

Week_Temperature_SF with Line & doots

✓ Published0🌍 Public
HHaris Abdullah
Last edited Oct 4, 2021
Created on Oct 4, 2021

This visualization displays a week of temperature measurements in San Francisco as a smooth curve with individual data points, using a line chart with circular dots atop a natural curve interpolation. Temperature values are plotted against timestamps on the y- and x-axes, respectively, with axis labels and tick marks generated by custom React components. The code leverages d3.v5 utilities such as `scaleLinear`, `line`, `curveNatural`, `extent`, and `timeFormat` to compute scales and shapes. React renders SVG elements, while CSV data is loaded asynchronously via `useEffect` and d3’s `csv` parser. Tick marks, circles, and the path are styled with CSS, and native SVG `<title>` elements provide hover tooltips.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes