Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity6_question6_shape

Public visualization

activity6_question6_shape

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed