🌍 Public
Viewing a saved revision (read-only)
6410ae5754b44fee8d7e81e7eeeb87df
Temperature in San Francisco Line Chart
This line chart visualizes a week of temperature measurements in San Francisco, with time on the x-axis and temperature on the y-axis, including gridlines, axis labels, and a title. The data is loaded from a CSV file and rendered as a smooth curve using D3 v7’s `scaleTime`, `scaleLinear`, `line`, and `curveBasis` generators. Axes are drawn with `axisBottom` and `axisLeft`, while the SVG output is styled via external CSS for ticks, labels, and the maroon stroke of the line path.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.