Activity06_Task01
✓ Published2🌍 Public
This chart displays the 2020 population of 30 countries using a horizontal bar chart rendered with SVG. It loads data from a CSV file and asks the D3 module imports specialized functions like `scaleBand`, `scaleLinear`, `max`, and `format`, paired with a tick formatter that converts billions to a compact label. The React framework binds the data through a custom hook, while `AxisBottom`, `AxisLeft`, and `Marks` components generate the axes and green bars. Tooltips provide formatted population values on hover.
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