Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question2-Area CHart

Public visualization

Viewing a saved revision (read-only)

56c7458e704648bd900b9528905b8284

Question2-Area CHart

0 stars0🌍 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

A demonstration of reusable scatter plot.