Module 4 Exercise -- Life Expectancy for all the countries.
✓ Published0🌍 Public
PP7h
Last edited Apr 18, 2015
Created on Apr 6, 2015
A horizontal bar chart ranks a subset of countries by life expectancy at birth in 2012, drawing on 53 years of World Bank data loaded from a CSV. The chart uses D3 v3 with an ordinal scale for country names, a linear scale for years, and SVG rects for bars. It pulls a random subset of rows to keep the display readable, and interactive tooltips reveal each country’s value. Axes are rendered via `d3.svg.axis`, and text labels show the exact 2012 value at each bar’s end.
AI-generated description