Fork of Activity_8_Question-1.1
✓ Published0🌍 Public
This example shows a horizontal bar chart ranking the populations of ten countries in the year 2000. The chart uses D3 scales (scaleBand and scaleLinear) to position bars and axes, with React components handling the SVG rendering. Data is loaded from a remote CSV file via d3.csv, and tooltips display formatted population values using d3.format.
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