Skip to main content
100%

Activity6_Task1

✓ Published0🌍 Public
Aayeshamanzoor111798@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This bar chart displays the 2020 population estimates for 30 countries, sorted along a categorical y-axis. The visualization uses D3 v5 to load CSV data from a GitHub repository and React to manage the SVG rendering. The chart applies a linear scale for population counts, a band scale for country names, and a custom tick formatter that abbreviates large numbers (e.g., converting gigabytes to billions). Tooltips, provided via SVG `<title>` elements, show the formatted population values on hover.

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