🌍 Public
Viewing a saved revision (read-only)
25f0043a30584ee6aeb14adc9c8375b5
Activity6-Q1.2
This bar chart displays the population of the top 20 countries in 2010, ranked by country name on the vertical axis and population count on the horizontal axis. Built with D3 v5 within a React framework, it renders as an SVG. The chart uses D3's `scaleBand` and `scaleLinear` for axes, utilizes `csv` to load data from a GitHub repository, and formats tick labels with `format`. Hovering over a bar reveals a tooltip with the population value.
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.