Skip to main content
100%

Fork of Stylized Line Chart

✓ Published0🌍 Public
MMatt Lean
Last edited Sep 1, 2021
Created on Sep 1, 2021

This chart displays the temperature over time in San Francisco, using data loaded from a CSV file of the Data Canvas Sense Your City dataset. A single black line traces the temperature’s changing values across a week, while an interactive circle—commented out in the code—would reveal the exact time on hover, though it is not rendered here. The visualization is built with React and D3 v5, using `scaleTime` and `scaleLinear` for the axes and a custom curve, `curveNatural`, to smooth the line path. The axes are drawn via the `AxisBottom` and `AxisLeft` components, which create tick marks and labels, and the styled line (`stroke: #137B80`, width 4) is embedded in an SVG. The chart is part of a fork of a stylized line chart example, with a clean, minimal design that prioritizes the data’s trend.

AI-generated description
MIT Licensed

Similar vizzes