🌍 Public
Viewing a saved revision (read-only)
cef3600a0af44c95a8d513243fb650dd
Activity 6
This bar chart displays the population of 30 countries for the year 2020, sorted alphabetically along the y-axis with the population magnitude mapped to the x-axis. The visualization uses D3 v5’s `scaleBand` and `scaleLinear` via React components, rendering SVG rectangles that include tooltips showing the population value. Data is loaded asynchronously from a remote CSV file using D3’s `csv` function and formatted with `d3.format`. The chart includes styled axes with blue tick lines and Poppins typography.
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.