line_chart_stylezed
✓ Published0🌍 Public
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 descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed