🌍 Public
Viewing a saved revision (read-only)
56c7458e704648bd900b9528905b8284
Question2-Area CHart
This example shows a static area chart comparing average temperatures across different cities, with labeled x- and y-axes. The visualization loads CSV data from a GitHub gist and uses D3 v7's `d3.csvParse`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.area` to generate the filled path. Axes are drawn with `d3.axisBottom` and `d3.axisLeft`, rendered as SVG within a 900x500 canvas, and the chart includes rotated city labels and a rotated y-axis title.
AI-generated descriptionA demonstration of reusable scatter plot.