Activity 6_task 1
✓ Published2🌍 Public
This example displays a horizontal bar chart ranking the populations of up to 30 countries for the year 2020, using green bars with blue axis ticks. The visualization is rendered as an SVG within a React application, leveraging D3 v5 methods such as `scaleBand`, `scaleLinear`, and `csv` to fetch and format data from a remote GitHub dataset. The code demonstrates modular imports from D3 and local ES6 modules, and tooltips appear on hover via a `<title>` element.
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.
MIT Licensed