Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Working with time

Public visualization

Viewing a saved revision (read-only)

a81b4c262a1a4244ab3aa4eaf4f8c44f

Working with time

0 stars2🌍 Public
MmohitPassan
Last edited Apr 27, 2021
Created on Apr 27, 2021
Forked from Scatter plot

A line chart displays temperature readings from San Francisco over one week, using a time-based x-axis and linear temperature y-axis. Built with React and D3 v6, the visualization employs `scaleTime` and `scaleLinear` to map data, while custom `AxisBottom` and `AxisLeft` components render the axes. The `Marks` component draws a smooth curve using `line()` with `curveNatural`, highlighting the temperature trend. Data loads from an external CSV file and renders as SVG within a responsive layout.

AI-generated description

Scatter plot of temperature dataset using d3 and keeps track using react