Skip to main content
100%

Question4

✓ Published0🌍 Public
Aajaykumarseelam@my.unt.edu
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This bubble chart visualizes the correlation between GDP per capita, life expectancy, and population area ratio across 20 countries, with each bubble’s size encoding population density and color identifying the country. The chart uses d3.csv() to load data from bubblechart.csv and renders circles via d3.scaleLinear for axes and bubble sizing, with a d3.scaleOrdinal and d3.schemeCategory10 for color mapping. Interactive tooltips are implemented with D3 event handlers (mouseover, mousemove, mouseleave) that display country details, while a static legend lists all countries beside color-coded dots.

AI-generated description
MIT Licensed

Similar vizzes