🌍 Public
Viewing a saved revision (read-only)
aa2a284bd1a844109567fffaba6e957a
Activity 7-2.1
A horizontal bar chart visualizes the 2020 populations of the top 20 countries, sourced from a GitHub CSV file. The chart uses green bars with blue tick lines and tooltips, formatted with D3's `format` API to show abbreviations in billions. Built with React and D3 v5, the visualization demonstrates ES6 module imports, including local components for axes and marks, and renders entirely as SVG elements.
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.