Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q3

Public visualization

Viewing a saved revision (read-only)

b08da2994a044026b51f5a3104acf819

Activity6_Q3

0 stars1🌍 Public
VVidya Lakshmi Chitturi
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Hello VizHub

This scatter plot shows the relationship between GDP per capita (in billions) and life expectancy for countries in 2015, sourced from a GitHub-hosted GDP dataset. It uses d3.csv to load the data, scales the GDP axis logarithmically via d3.scaleLog, and colors points using d3.scaleOrdinal with d3.schemeCategory10. SVG circles are rendered with D3's data join, and hover interactions display a tooltip showing country name, GDP, and life expectancy. The axes are labeled using d3.axisBottom and d3.axisLeft.

AI-generated description