Activity 6_Task1 Question1.1
✓ Published1🌍 Public
This visualization displays a horizontal bar chart comparing the populations of ten countries in the year 2000, with each bar labeled by country name on the y-axis and population values formatted in billions along the x-axis. The chart uses a green fill for the bars and includes axis labels for "COUNTRY NAME" and "POPULATION-2000". Built with React and D3 v5, the code leverages `scaleBand` and `scaleLinear` for scaling, custom SVG components for axes and marks, and loads data from a CSV file via D3's `csv` function.
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