Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

area chart

Public visualization

Viewing a saved revision (read-only)

df57da198348436187c978ddfdd1ea4f

area chart

0 stars0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Fork of area chart

This area chart displays India’s population across different countries, with a steel-blue filled path representing the data. It loads population data from a CSV file and renders it as an SVG using D3 v7. The chart uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.area()` to generate the area shape. Axes are created with `d3.axisBottom` and `d3.axisLeft`, and labels are added for both axes.

AI-generated description

An example showing the capabilities of VizHub:

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