Skip to main content
100%

Working with Time

✓ Published1🌍 Public
DDeborah Ong
Last edited Apr 4, 2021
Created on Apr 4, 2021

This example visualizes temperature changes over time as a smooth line chart. The data is fetched from a CSV file containing weekly temperature readings from San Francisco. The chart uses a time-scaled x-axis with day-of-week labels and a linear y-axis for temperature values. Built with React and D3 v5, it employs `scaleTime`, `scaleLinear`, `extent`, and `curveNatural` to generate the curved path, with reusable `AxisBottom`, `AxisLeft`, and `Marks` components rendering in SVG.

AI-generated description
MIT Licensed

Similar vizzes