Skip to main content
100%

area chart

✓ Published0🌍 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.
MIT Licensed

Similar vizzes