Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Working with Time

Public visualization

Viewing a saved revision (read-only)

da0a02b3efee4593ad0c6af126c9f4d0

Fork of Working with Time

0 stars0🌍 Public
MMetalquill
Last edited Apr 15, 2021
Created on Apr 15, 2021
Forked from Working with Time

This example visualizes weekly temperature readings from the Data Canvas Sense Your City dataset as a scatter plot, with time on the x-axis and temperature on the y-axis. The plot is rendered as SVG, with each data point drawn as a circle using React components that generate `circle` elements. The code leverages `d3.scaleTime` and `d3.scaleLinear` for axis scaling, `d3.timeFormat` for tick labels, and `d3.csv` to load the data from a remote URL. A `d3.zoom` call is included, though its behavior is not fully implemented in the displayed code.

AI-generated description