Fork of Activity6_Question1_2
✓ Published0🌍 Public
This bar chart displays the top 20 countries by population in 2010, using horizontal bars ordered by country name. The React app loads CSV data remotely, processes it with `d3.csv`, and renders SVG marks via `scaleBand` for the y-axis and `scaleLinear` for the x-axis. The chart includes axis components with tick formatting using `d3.format` to abbreviate large numbers, while native SVG `<title>` elements provide tooltips. The visualization demonstrates reusable React components for axes and marks, with styling applied through CSS classes.
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