🌍 Public
Viewing a saved revision (read-only)
a03bb9c99c1749e485b813807b51be0b
Fork of Activity6_Task1
This is a horizontal bar chart of population data for ten countries in the year 2000, rendered as SVG via React. The visualization uses React hooks (useState, useEffect) and D3 v5 scales including d3.scaleBand and d3.scaleLinear, with components for axes and marks. Data is loaded as CSV from a GitHub URL using d3.csv, with each bar’s width mapped to population via d3.max and tooltips formatted using d3.format. Axes are custom-built with React components, and the chart includes a labeled x-axis showing population in billions.
AI-generated descriptionA demonstration of how to start using D3 version 6.