Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q6

Public visualization

Viewing a saved revision (read-only)

6ec54c3491e745f9a08e1e5f2ed34dfc

Activity6_Q6

0 stars0🌍 Public
Llokasaivenkatatammineedi@my.unt.edu
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Hello VizHub

This scatterplot displays the relationship between GDP per capita and life expectancy for ten countries, with each point colored by continent. Built with D3.js v7, the visualization uses `d3.csv` to load data, `d3.scaleLinear` for axes, and `d3.scaleOrdinal` with `d3.schemeSet2` for categorical coloring. Hovering over a circle triggers a tooltip showing country name, GDP, and life expectancy. The SVG rendering includes labeled axes and axis ticks generated via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description