🌍 Public
Viewing a saved revision (read-only)
3df0dbe5a3b94c7cbc84b63b31067e4f
Activity6_task1.2
This work is a horizontal bar chart that displays the top 20 most populated countries in 2010, using population values in millions. The chart ranks countries from highest to lowest population, with bars encoded by length and colored pink. Hovering over a bar reveals the specific population value via a tooltip. The visualization is rendered using React and D3.v5, and it uses `scaleBand` and `scaleLinear` for axes, `format` for tick labels, and `csv` to load the dataset.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.