Flags By Colours

By Deane Barker on October 25, 2009

Flags By Colours : Neat little app that analyzes the colors of world flags (pulled from Wikpedia) in real-time, providing pie charts for each and for all of them in aggregate.

Using a list of countries generated by The World Factbook database, flags of countries fetched from Wikipedia (as of 26th May 2007) are analysed by a custom made python script to calculate the proportions of colours on each of them. That is then translated on to a piechart using another python script. The proportions of colours on all unique flags are used to finally generate a piechart of proportions of colours for all the flags combined. (note: Colours making up less than 1% may not appear)

The most common color in world flags?  White, by a wide margin.

Gadgetopia