Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Ppnamitha46@gmail.com
Last edited Oct 20, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2020 populations of thirty countries, with bars sorted by country name and tooltips showing the population value. The visualization is rendered as SVG through React, using D3's `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and the `format` function to abbreviate large numbers. Data is loaded from an external CSV file via D3's `csv` utility.

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