Skip to main content
100%

Task8_Task(1)

✓ Published3🌍 Public
Jjyothirmai318@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This horizontal bar chart displays 2020 population estimates for 30 countries, sorted alphabetically by country name with bars extending left-to-right proportional to population values. The visualization uses React for component structure and D3 v5 for scales, axes, and data parsing, with SVG rectangles representing each country’s population in millions. Data loads from a GitHub CSV file, formatting large tick labels with D3’s `format('.2s')` to abbreviate billions as “B”. Tooltips show precise population values via SVG `<title>` elements, while blue axis lines and light-green bars provide visual clarity.

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