Working with Time
✓ Published2🌍 Public
This scatterplot displays temperature readings over the course of a week in San Francisco, with time on the x-axis and temperature on the y-axis. The visualization uses React hooks to load a CSV dataset via `d3.csv`, then renders SVG circles with the help of `d3.scaleTime` and `d3.scaleLinear` for the axes. Each point is color-coded teal, and hovering reveals a tooltip formatted with `d3.timeFormat` that shows the day and temperature value.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.
MIT Licensed