Skip to main content
100%

Fork of Stylized Line Chart

✓ Published0🌍 Public
JJoachim Klug
Last edited Apr 20, 2021
Created on Apr 20, 2021

This visualization shows a line chart of weekly temperature readings over time for San Francisco, with the data sourced from the Data Canvas Sense Your City dataset. The chart displays the temperature variable against a timeline, using a smooth natural curve to connect data points, rendered as an SVG within a React application. The code leverages d3.v5 APIs including `scaleTime`, `scaleLinear`, `extent`, and `curveNatural` for scaling and path generation, while the `csv` function loads the remote dataset, and custom React components handle axis and mark rendering. The chart features labeled axes, a minimal color palette of teal and gray, and tick marks styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes