Working With Time
✓ Published1🌍 Public
This example shows a scatter plot of temperature readings over the course of a week, using a time-based x-axis and a linear y-axis for temperature. The data is loaded from a CSV file containing timestamps and temperatures for San Francisco, fetched via the `csv` function from `d3`. The visualization uses `d3.scaleTime` and `d3.scaleLinear` to map data to SVG coordinates, with React components rendering the axes and circular marks. Each point includes a tooltip showing the corresponding day of the week, generated with `d3.timeFormat`.
AI-generated descriptionA program that looks at the CSS colours from (https://gist.githubusercontent.com/curran/a08a1080b88344b0c8a7/raw/0e7a9b0a5d22642a06d3d5b9bcbad9890c8ee534/iris.csv)
MIT Licensed