Skip to main content
100%

Task8_Question1.2_HKK

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

This visualization displays the 2010 population of 20 countries as a horizontal bar chart. Each bar’s length is proportional to its population value, with country names on the y-axis and a formatted population scale on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data to SVG rectangles, while `AxisBottom` and `AxisLeft` generate the ticks and labels. The dataset is loaded as CSV from a GitHub repository, and hover tooltips show the precise formatted population for each bar.

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