8. Line Chart
This visualization displays a line chart of temperature over time, using data from a CSV file of weekly San Francisco temperatures. The chart uses a natural cubic spline to create a smooth curve. Built with React and D3 v5, the code leverages D3's `scaleTime`, `scaleLinear`, `extent`, and `timeFormat` for scaling and axis ticks, while the path is constructed using D3's `line` function with the `curveNatural` option. SVG rendering is handled entirely through React components.