Question 4
✓ Published0🌍 Public
This bubble chart displays the relationship between GDP per capita, life expectancy, and population for countries across continents, with each circle’s size encoding population and color distinguishing continents. Built with D3.js v4 and rendered as SVG, it includes an interactive tooltip that shows the country name on hover, while highlighting and dimming by continent using CSS class selectors. The chart loads CSV data from a GitHub repository, uses `d3.scaleSqrt` for bubble sizing, `d3.scaleOrdinal` with `d3.schemeSet1` for colors, and animates opacity transitions for hover effects.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed