Activity_6-Question-1.2
✓ Published0🌍 Public
This horizontal bar chart shows the population of 20 countries in 2010, with each bar’s length representing total population and country names listed on the y-axis. The visualization uses React with D3 v5 scales (d3.scaleBand and d3.scaleLinear) to position bars and axes, rendering to SVG. Population values are loaded from a remote CSV file via d3.csv, formatted as billions using d3.format, and displayed with interactive tooltips via SVG `<title>` elements. The chart includes custom styled axis ticks and a labeled x-axis.
AI-generated descriptionMIT Licensed