Activity 6 Task 1.2
✓ Published0🌍 Public
This visualization presents a horizontal bar chart of population data for 20 countries, sourced from a CSV file for the year 2010. The bars are rendered as green SVG rectangles, with a blue axis line and the y-axis labels placed to the left. Built with React and D3 v5, the code uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric scale, with a custom tick formatter that abbreviates large numbers.
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