Skip to main content
100%

Question2-Area CHart

✓ Published0🌍 Public
Aakhillenkalapally1999@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

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 description

An example showing the capabilities of VizHub are follows:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes