Fork of Fork of Task 8 Q1-2
✓ Published1🌍 Public
This bar chart displays the population of 20 countries in 2010, rendered as an SVG using React and D3 v5. The data is loaded from a remote CSV file and visualized with horizontal bars, where country names appear on the y-axis and population values on the x-axis. The chart uses D3's `scaleBand` and `scaleLinear` for axis scaling, and `format` to abbreviate large numbers. Interactive tooltips show the exact population value on hover, while the axis ticks and labels are styled with custom CSS.
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