Skip to main content
100%

No6

✓ Published0🌍 Public
LLTymn
Last edited Apr 7, 2015
Created on Apr 7, 2015

A horizontal bar chart displays life expectancy for each country, sorted in descending order, using a turquoise background and white SVG canvas. The bars are drawn as rectangles, with width proportional to the life expectancy value from the CSV data. Built with D3 v3, the code uses `d3.csv` to load `Countries3(OLD).csv` and `d3.descending` to sort rows before appending rects to the SVG via `selectAll` and `enter`. Each bar includes a `title` tooltip showing the country name and its life expectancy.

AI-generated description

Similar vizzes