Colors, Labels and Interactivity | datavizstudio | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Minghua Sun
@clairesunstudio
Comments (5)
Minghua Sun
Nov 24, 2025
Let's create a scatter plot of life expectancy (y) vs gdp (x) of 217 nations, colored by region (qualitative).
Reply
Minghua Sun
Nov 24, 2025
Let's create a scatter plot of co2 emission (y) vs gdp (x) of 217 nations, colored by life expectancy (quantitative).
Reply
Minghua Sun
Nov 24, 2025
Let's create a scatter plot of co2 emission (y) vs gdp (x) of 217 nations, colored by life expectancy (quantitative).
Reply
Minghua Sun
Nov 24, 2025
Let's create a scatter plot of life expectancy (y) vs gdp (x) of 217 nations, colored by co2 (quantitative). Reference: Week2 assignment - log scale
Reply
Minghua Sun
Dec 4, 2025
See the Plot example -->
https://observablehq.com/@observablehq/plot-wealth-health-nations
on how to use a "lastDefined" reducer and groupZ transform to handle missing data and to smooth out the animation.
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
13
Follow
Follow
Colors, Labels and Interactivity | datavizstudio | Observable