🌍 Public
Viewing a saved revision (read-only)
fa5448c21db14f65b0731868f9e0fc27
Question 1
A horizontal bar chart displays the population of ten countries in the year 2000, sorted alphabetically by country name. Built with React and D3 v5, the visualization uses `scaleBand` for the y-axis and `scaleLinear` for the x-axis, rendering bars as SVG rectangles. Data is loaded via `d3.csv` from a GitHub gist, with tick labels 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.