Temperature in San Francisco Area Chart
✓ Published0🌍 Public
This area chart visualizes a week of temperature data in San Francisco, with time on the x-axis and temperature on the y-axis. The chart uses a smooth curved line to connect data points, along with gridlines and axis labels for clarity. The code loads data from a CSV file, parses timestamps and numeric temperatures, and renders the visualization using D3 v7 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with a basis curve. The SVG output is styled with custom CSS for typography and line appearance.
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.
MIT Licensed