🌍 Public
Viewing a saved revision (read-only)
1abe07a529e642e6a63c4eb7642e9db0
Fork of Hello VizHub
This bar chart displays the population of the top 20 countries in 2010, ordered alphabetically. It uses React to render SVG elements, with D3 v5’s `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and `format` for tick labels. Data is loaded via `csv` from a GitHub URL. The chart includes styled tick marks and axis labels for clarity.
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.