activity-6-t-1
✓ Published0🌍 Public
This chart displays the population of 30 countries in 2020 using a horizontal bar chart. The React-based visualization uses D3 modules like `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, with formatted tick labels using `format.` Each bar is an SVG `rect` with a tooltip showing the population value. The data is loaded from a remote CSV file, and axes are rendered using the 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.
MIT Licensed