A6_Q6_Shape
✓ Published0🌍 Public
This scatter plot uses distinct shapes to visualize the relationship between GDP per capita and life expectancy for ten countries, with each shape representing a different continent. Built with D3 v7 and rendered as an SVG, the chart maps data points using a linear scale for both axes and an ordinal scale for shape encoding. Interactivity is provided through mouseover events that display a tooltip with the country’s details, including its GDP, life expectancy, and continent.
AI-generated descriptionMIT Licensed