Fork of Stylized Line Chart
This example visualizes temperature over time as a smooth, stylized line chart, rendered as SVG within a React component. The line uses D3’s `line` and `curveNatural` to create a natural cubic spline through the data points, while temporal and linear scales from D3 handle axis mapping. Axes are drawn using custom React components that generate ticks and gridlines, with the chart styled using the Poppins font and a muted color palette. The data comes from a CSV file of weekly San Francisco temperatures, loaded asynchronously via the `useData` hook and D3’s `csv` parser.