Skip to main content
100%

Question 4

✓ Published0🌍 Public
Jjaswanthreddy2715@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes