Act6_Q1.2
✓ Published0🌍 Public
A horizontal bar chart displays the populations of 20 countries for the year 2010, sorted vertically by country name. The visualization uses React with D3 v5, loading CSV data from a GitHub repository via d3.csv and rendering SVG bars. The chart employs scaleBand for the categorical y-axis and scaleLinear for the numeric x-axis, with population values formatted using d3.format and native SVG <title> elements providing tooltips.
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.
MIT Licensed