Skip to main content
100%

Working with time

✓ Published2🌍 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

MIT Licensed

Similar vizzes