Working with Time
✓ Published145🌍 Public
This scatter plot visualizes weekly temperature readings from the Data Canvas Sense Your City dataset, with time on the x-axis and temperature on the y-axis. Built with React and D3 v5, it uses `scaleTime` and `scaleLinear` for coordinate mapping, and SVG circles as marks. Axes are generated using custom `AxisBottom` and `AxisLeft` components that call `xScale.ticks()` and `timeFormat`, with native SVG `<title>` elements providing tooltips. Data loading is handled via the `useData` hook, which fetches a CSV file using `d3.csv`.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed