Skip to main content
100%

Clase 02 - Parte 2 - D3 Fernando Becerra

✓ Published1🌍 Public
Mmaxthamt
Last edited Jul 29, 2022
Created on Jul 29, 2022

This interactive bubble chart visualizes the relationship between GDP per capita, life expectancy, and population across countries, using a logarithmic x-scale and linear y-scale. The D3 v7 code renders SVG circles sized by population and colored by continent, with hover interactions that dim non-target circles and display a tooltip showing country details. The example demonstrates the enter-update-exit data join pattern, along with d3.scaleLog, d3.scaleLinear, d3.scaleOrdinal, and d3.axisBottom/axisLeft, loading data from a Rosling dataset via d3.json.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes