Skip to main content
100%

Class 02 Homework - Life & Income

✓ Published0🌍 Public
VVirginiaHNg
Last edited Jun 14, 2017
Created on Jun 14, 2017

This scatterplot shows the relationship between per-capita income and life expectancy across countries, with each point representing a nation. The visualization uses D3 v4 to map income on the x-axis and life expectancy on the y-axis, rendering the data as SVG circles. The code relies on D3’s scales and axis functions to position and label the plot, while the data is loaded from an embedded array of country-specific values.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes