Skip to main content
100%

Activity6_Task 1

✓ Published0🌍 Public
Ppraneeth.d555@gmail.com
Last edited Oct 17, 2024
Created on Oct 17, 2024
Forked from Hello VizHub

This horizontal bar chart displays the top 30 countries by 2020 population, with country names on the y-axis and population values along the x-axis. The visualization uses React and D3 v5, employing `scaleBand` for the categorical y-axis and `scaleLinear` for the numerical x-axis. Data loads asynchronously from a GitHub-hosted CSV via `d3.csv`, and the bars render as SVG `<rect>` elements with tooltips formatted using `d3.format`.

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