Skip to main content
100%

Asylum total 2016

✓ Published0🌍 Public
Aandrewwitherspoon
Last edited Apr 5, 2018
Created on Apr 5, 2018

A treemap visualizes asylum applications by country in 2016, with the area of each rectangle proportional to the number of asylum seekers from that country. The visualization uses D3 v4 to recursively subdivide a 960×570 SVG canvas into rectangles, with color encoding different countries via a faded categorical color scale. Users can toggle between summing values by size, though the count mode is disabled. The animation and squarified treemap layout are rendered using SVG, with data loaded from a JSON file.

AI-generated description

A treemap recursively subdivides area into rectangles; the area of any node in the tree corresponds to its value. This example uses color to encode different packages of the Flare visualization toolkit. Treemap design invented by Ben Shneiderman. Squarified algorithm by Bruls, Huizing and van Wijk. Data courtesy Jeff Heer.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4063582'>Treemap</a>

forked from <a href='http://bl.ocks.org/andrewwitherspoon/'>andrewwitherspoon</a>'s block: <a href='http://bl.ocks.org/andrewwitherspoon/6295da517c2ae4a0ef2e300de3b336f7'>Treemap</a>

gpl-3.0 Licensed

Similar vizzes