Skip to main content
100%

Activity6_Question1.2

✓ Published1🌍 Public
AAreeba Hassan
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A horizontal bar chart displays the 2010 population for 20 countries, sorted by a categorical country axis. Each red bar’s length encodes population values using a linear scale, with hover tooltips formatted as billions. The React app loads CSV data via `d3.csv` and renders SVG marks with `scaleBand` and `scaleLinear`. Axes are custom components using D3’s tick generation.

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