Temperature in San Francisco Line Chart
✓ Published1🌍 Public
BBo Yang
Last edited Sep 11, 2021
Created on Jul 21, 2021
Forked from Temperature in San Francisco Scatter Plot
The chart displays the daily case counts for Allen and Butler counties across the first quarter of 2021, with both series plotted against the same time axis on a dual-line chart. The code uses the d3 library's `csv`, `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` functions to parse the data and construct the SVG rendering. Two separate `line` generators with `curveBasis` create smooth paths, while the left y-axis is labeled twice for each series, and grid lines are drawn via the axes' `tickSize` settings.
AI-generated descriptionTemperature in San Francisco Line Chart
MIT Licensed