Activity-6_Q1.1
✓ Published0🌍 Public
This visualization displays a horizontal bar chart comparing population figures for the top 10 countries in the year 2000, with country names on the y-axis and population values on the x-axis using a band scale and linear scale. The chart is built with React and D3 v5, loading data from a remote CSV via d3.csv, and renders SVG elements including axes and rectangular marks. Hovering over a bar reveals a tooltip with the formatted population value, using d3.format to abbreviate large numbers.
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