Line Chart with Multiple Lines
✓ Published0🌍 Public
This line chart visualizes a week of temperature data in San Francisco, using D3 v5 to render an SVG. The code loads CSV data from a remote URL, parses timestamps and numeric temperatures, and scales the axes with `scaleTime` and `scaleLinear`. It draws a single smoothed line via `d3.line` with the `curveBasis` curve, and includes styled grid lines, axis labels, and a title. The line path uses a thick gray stroke, while the axis tick labels and titles are styled through CSS classes.
AI-generated descriptionLine Chart with Multiple Lines, from Data Canvas Sense your city one Week
MIT Licensed