Skip to main content
100%

Metis Health & Wealth of Nations Country Comparison

✓ Published0🌍 Public
EElaineYu
Last edited Jul 7, 2017
Created on Jun 29, 2017

This interactive visualization compares health and wealth indicators—population, income, and life expectancy—across two selectable countries. Users choose a data category and two countries from dropdown menus, and the chart renders dual blue and pink line paths to compare trends over time. Built with D3 v4, the code uses `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` to map year and value domains from the nations dataset to an SVG canvas; `d3.extent` and `d3.merge` derive the axis ranges. The source data is embedded in a JSON file.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes