Skip to main content
100%

Fork of Stylized Line Chart

✓ Published0🌍 Public
Nnahsiloh
Last edited Mar 29, 2021
Created on Mar 29, 2021

This example shows a stylized line chart of temperature over time for San Francisco, using data from the Data Canvas Sense Your City dataset. The chart renders as an SVG with React, using d3.scaleTime and d3.scaleLinear to map timestamps and temperatures to positions. The line path is drawn with d3.line and curveNatural, while d3.axisBottom and d3.axisLeft are manually recreated via custom React components. The chart omits data point circles, and styles the axis ticks and labels with the Poppins font.

AI-generated description
MIT Licensed

Similar vizzes