🌍 Public
Viewing a saved revision (read-only)
ac0d1a73bd1547d08e9632e25fbc60dc
Activity6_Tutorial1
A horizontal bar chart displays the 2020 population estimates for the top 30 countries, ranked by country name along the y-axis and population along the x-axis. Built with React and D3 v5, the visualization uses `scaleBand` and `scaleLinear` for axes, with SVG `rect` marks fetching data from a CSV file. A tooltip shows the formatted population value on hover.
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.