🌍 Public
Viewing a saved revision (read-only)
8a917950f4be4807a7a32e1420db4648
Activity 6
The visualization displays a horizontal bar chart ranking the populations of 30 countries in 2020, using a green fill for each bar and blue tick marks on a white background. Built with React and D3 version 5, it loads CSV data from a GitHub repository, transforms it with the `csv` function, and renders SVG rectangles via the `scaleBand` and `scaleLinear` scales, with axes drawn by custom `AxisBottom` and `AxisLeft` components.
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.