Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Viz 1

Public visualization

Fork of Viz 1

0 stars0🌍 Public
MMonish Galla
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from Viz 1

This visualization presents a scatter plot comparing population density and median age across countries. It loads country data from a merged JSON dataset and renders each entry as a circle, colored steelblue and turning orange on hover. The implementation uses d3.json to fetch data, d3.scaleLinear for both axes, and d3.axisBottom/axisLeft with rotated tick labels. Interactive tooltips appear on mouseover using D3 transitions, displaying country name, population density, and median age. The SVG rendering includes custom axis styling with hidden domain lines and labeled axes for clarity.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed