Fork of Sruj
✓ Published1🌍 Public
A scatter plot of 156 countries maps life expectancy against GDP per capita, with each dot colored by region and sized by population. The interactive SVG visualization, built with D3.js 7.8.5, uses linear axes with dashed grid lines, a tooltip that appears on hover, and a smooth transition effect that enlarges the dot’s stroke and radius. The chart is embedded in a styled container set against a gradient background, with data drawn from a static JavaScript array.
AI-generated descriptionMIT Licensed