Skip to main content
100%

Activity6_TasK1

✓ Published0🌍 Public
Ppenumutchu.manobhiram@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This visualization displays the 30 most populous countries in 2020 as a horizontal bar chart. It loads population data from a GitHub-hosted CSV file, with population values computed by multiplying the '2020' column by 1000. The chart is rendered using React and D3 v5, with d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and d3.format for axis tick labels. SVG rectangles represent each bar, and tooltips show formatted population values.

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