line
✓ Published1🌍 Public
This visualization shows the temperature in San Francisco over time, using a smooth line to connect data points across a time axis. The line and axes are rendered as SVG paths, with temperature on the y-axis and time on the x-axis. The code uses D3 v5’s `scaleTime`, `scaleLinear`, `line` with `curveBasis`, and the `axisBottom` and `axisLeft` components. Data is loaded from a CSV file via `csv` and parsed into `Date` and numeric values before being passed to the rendering function.
AI-generated descriptionMIT Licensed