A Week in San Francisco Line Chart
This line chart visualizes temperature fluctuations in San Francisco over a week, using time on the x-axis and temperature on the y-axis. The chart includes labeled axes, grid lines, and a smooth red curve connecting daily data points. Built with D3 v5, the code uses `csv`, `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to render the SVG path. Data comes from a CSV file loaded via D3’s `csv` function, with timestamps parsed as dates and temperatures converted to numbers.