🌍 Public
Viewing a saved revision (read-only)
338cf0b0140148fd9f134483db4d61cc
activity 6_Task 1
A horizontal bar chart displays the populations of ten countries in the year 2000, with country names on the y-axis and population values on the x-axis. The chart uses React components to render SVG elements, with D3 v5's `scaleBand` and `scaleLinear` for scales and `format` for tick labels. Data is loaded asynchronously from a remote CSV file via `d3.csv`, with each rectangle including a native SVG `<title>` element for tooltip display.
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.