🌍 Public
Viewing a saved revision (read-only)
453066b41a1044aebb1e317753f2befc
DV TASK-8(Q1-2)
A horizontal bar chart displays the populations of 20 countries in 2020, with bars sorted by country name along the y-axis. Loading data from a remote CSV via `d3.csv`, the visualization uses `scaleBand` and `scaleLinear` to map values, rendering SVG rectangles with React components. Tooltips show formatted population values, axis ticks use `d3.format`, and the chart includes labeled axes and styled tick marks.
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.