🌍 Public
Viewing a saved revision (read-only)
d1b8b8e420234d2abbf623195a985316
Activity 6
This interactive bar chart visualizes the population of ten countries in the year 2000. The chart uses a horizontal layout with a band scale for the categorical country axis and a linear scale for the population axis. Built with React and D3 v5, the visualization renders as an SVG with custom axis components and rectangular marks. Data is loaded from a remote CSV file, and each bar includes a tooltip that formats large population values using the `d3.format` function with SI prefixes.
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.