Skip to main content
100%

line_chart_stylezed

✓ Published0🌍 Public
SsunilthkGmail
Last edited Jan 23, 2023
Created on Jan 23, 2023

This example displays a smoothed line chart of weekly temperature readings over time from the Data Canvas Sense Your City dataset. The visualization uses React to render SVG elements, with D3 v5's `scaleLinear`, `scaleTime`, and `line` generator with `curveNatural` for the path. The axes are custom components (AxisBottom, AxisLeft) that map ticks and labels, while the Marks component draws the curved temperature line. The styling uses a Poppins font, muted gray tick marks, and a teal stroke for the line.

AI-generated description
MIT Licensed

Similar vizzes