Skip to main content
100%

Fork of Stylized Line Chart

✓ Published0🌍 Public
Ssimontoblad
Last edited Jan 30, 2022
Created on Jan 30, 2022

This example visualizes temperature readings over a week from the Data Canvas Sense Your City dataset, plotting time on the x-axis and temperature on the y-axis. The chart uses a smooth natural curve to connect data points, with styled axes and labels rendered in React and SVG. D3’s `scaleTime`, `scaleLinear`, `extent`, and `line` with `curveNatural` handle the data scaling and path generation, while custom React components build the axes and marks. The dataset is loaded as CSV and parsed with `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes