Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

TASK-9&10(Q2)

Public visualization

Viewing a saved revision (read-only)

d1fd6b389cbb4c15893ecec07a8d755a

TASK-9&10(Q2)

0 stars0🌍 Public
Nnagabinduk2023@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

A population area chart displays the population of multiple countries from a CSV file hosted on GitHub. The chart uses a single steel-blue filled path created with `d3.area`, positioned by a band scale for countries and a linear scale for population values. Axes from `d3.axisBottom` and `d3.axisLeft` include rotated country labels and axis titles. Data is loaded asynchronously with `d3.csv`, and the SVG renders on a light gray background with a visible border.

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.