Timeseries Plot
This example visualizes a week of San Francisco temperature data as a scatterplot, with time on the x-axis and temperature on the y-axis. Each data point is rendered as a circle, and hovering over a circle displays a tooltip with the corresponding day of the week. The code uses `scaleTime` and `scaleLinear` from D3 v5 to map data to pixel coordinates, while React handles the SVG rendering. The data is loaded as CSV via `d3.csv` and transformed with date parsing and numeric conversion. Axis components are custom-built using React, and the overall layout leverages D3’s `extent` and `nice` functions for domain adjustments.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!