🌍 Public
Viewing a saved revision (read-only)
afd25197d7374a418b3165fd76c9b1e1
Task_8
A horizontal bar chart displays the population of ten countries in the year 2000, ranked by country name along the vertical axis. The chart uses React components to render SVG elements, with scales from d3.scaleBand and d3.scaleLinear positioning the bars and axes. Data loads asynchronously from a CSV file via d3.csv, and the population values are 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.