Actvity7_Task1
✓ Published0🌍 Public
A horizontal bar chart displays country populations for 2020 using React and D3 v5. The chart loads CSV data from a GitHub gist, converts string values to numbers, and slices the dataset to show the top 20 countries. D3 scales position bars, while React components render SVG axes, tick marks, and rectangles 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.
MIT Licensed