Fork of Working with Time
✓ Published0🌍 Public
This example visualizes daily temperature variations in San Francisco using a scatter plot. The chart plots timestamp data on the x-axis against temperature on the y-axis, with each data point rendered as a circle. Built with React and D3 v5, the visualization uses the `scaleTime` and `scaleLinear` functions to map the data domain to pixel coordinates within an SVG. The `csv` function loads the dataset from a remote URL, and custom React components (`AxisBottom`, `AxisLeft`, `Marks`) render the axes and data points, with tooltips displaying the formatted date on hover.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed