🌍 Public
Viewing a saved revision (read-only)
f98d9a88222148b6b2e92c382df7ad83
Activity6_Task1
This chart displays the population of 30 countries in 2020 as horizontal bars, sorted by country name. It is built with React and D3 v5, using a linear x-scale for population values and a band y-scale for countries. The SVG rendering includes axis components and rectangular marks with tooltips, while CSV data is loaded asynchronously via the `useData` hook.
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.