A Week in San Francisco Line Chart
✓ Published3🌍 Public
This line chart visualizes San Francisco temperatures over a week, plotting temperature against time with a smooth curved line. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `line`, and `curveBasis` to generate the SVG path, while `axisBottom` and `axisLeft` add labeled axes with gridlines. Data is loaded from a CSV file via `d3.csv`, with timestamps parsed as `Date` objects and temperatures as numbers. The chart includes a title, axis labels, and styled ticks and lines defined in external CSS.
AI-generated descriptionD3 course follow along.
MIT Licensed