🌍 Public
Viewing a saved revision (read-only)
022ca92dd0594cd8a8948d732a81be2b
Activity 6_Task 1 Question 2
This bar chart displays the 2010 populations of 30 countries, ranked from largest to smallest, using a horizontal layout. The visualization loads data from a CSV file hosted on GitHub and renders it with React and SVG. The implementation uses D3 v5 for data processing and scales, specifically `csv`, `scaleBand` for the y-axis, and `scaleLinear` for the x-axis, with custom components for axes and marks. Blue tick lines and light green bars are rendered, with tooltips showing formatted population values.
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.