Skip to main content
100%

activity6_question6_shape

✓ Published0🌍 Public
MMili Patel
Last edited Mar 30, 2025
Created on Mar 30, 2025

This scatter plot shows the relationship between GDP per capita and life expectancy for ten countries, with each continent represented by a unique geometric shape. The D3.js visualization uses d3.scaleLinear for both axes and d3.scaleOrdinal to map continents to symbols like circles, triangles, and squares. The chart renders as an SVG with axes labeled and includes interactive tooltips that display country details on mouseover. Data comes from a local CSV file containing country statistics, encoded using the d3.symbol API within a path-based scatter plot.

AI-generated description
MIT Licensed

Similar vizzes