Activity6_tutorial3
✓ Published2🌍 Public
This interactive scatter plot visualizes the relationship between GDP per capita and life expectancy, with each circle representing a country and color encoding the country’s identity. Built with D3 v7, it loads a gapminder CSV, uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for coloring, and renders axes via `d3.axisBottom` and `d3.axisLeft`. The SVG is sized at 800×600 pixels, with circles plotted using `xScale` and `yScale` mappings.
AI-generated descriptionMIT Licensed