question 2
✓ Published0🌍 Public
This example displays an area chart of temperature values across multiple cities using D3 v7. The chart renders as an SVG and fetches CSV data from a GitHub Gist, which it parses with d3.csvParse. It uses d3.scaleBand for the x-axis, d3.scaleLinear for the y-axis, and defines the area with d3.area. The visualization includes rotated x-axis labels, y-axis title, and axis labels for temperature and cities.
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