Fork of Working with Time
✓ Published0🌍 Public
This example visualizes the relationship between time and temperature for a week in San Francisco, plotting each observation as a circle along a time axis. The x-axis displays the day of the week, while the y-axis shows the temperature value. The chart is rendered as an SVG using React, with axes and data marks constructed from custom components. The implementation leverages d3’s `scaleTime`, `scaleLinear`, and `extent` functions for scaling and domain calculation, while data is loaded asynchronously from a CSV file using d3’s `csv` helper. Each circle includes a tooltip formatted with `timeFormat`.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed