Skip to main content
100%

Activity 6

✓ Published0🌍 Public
Ppravallikachowdary16518@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

This bar chart visualizes the 2020 population of 30 countries using a horizontal layout, with each bar’s length proportional to its population value. The visualization is built with the React framework, using D3 v5 utilities like `scaleBand` and `scaleLinear` for axes and layout, while rendering to SVG. Country names appear on the left axis, and a formatted tick label converts values to billions. Data is loaded from a remote CSV via `d3.csv`, and tooltips detail each bar’s exact population figure.

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