Activity6_Question 1.2
✓ Published1🌍 Public
This bar chart displays the 2010 population for 20 countries, ordered by country name on the y-axis and population on the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. Data is loaded via `d3.csv` from a GitHub repository, with SVG rectangles rendered as marks and tooltips formatted using `d3.format`.
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. - bar chart by using the “Activity6_population” for 20 countries in year 2010
MIT Licensed