activity 6_Task 1
✓ Published0🌍 Public
This visualization displays a horizontal bar chart of population data for 30 countries in 2020, sourced from a CSV file. Bars are rendered as SVG rectangles within a React component, with D3 v5 handling scales and tick marks. The chart uses a band scale for the categorical y-axis and a linear scale for the numeric x-axis, with formatted tick labels converting values to billions. Hovering over a bar reveals its exact population via a tooltip.
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