Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Ttallavijayalakshmi0710@gmail.com
Last edited Oct 23, 2024
Created on Oct 22, 2024

A horizontal bar chart displays 2020 population estimates for 30 countries, sorted by country name. Built with React and D3 v5, the visualization uses SVG rectangles scaled by population using `scaleLinear` and `scaleBand` for axes. Data is loaded from a CSV via `d3.csv`, with tooltips formatted using `d3.format` to abbreviate large numbers.

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