Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Prooffreader/chorogrid

A python script to produce choropleths and colored square- and hex-grid maps
https://github.com/Prooffreader/chorogrid

Last synced: about 2 months ago
JSON representation

A python script to produce choropleths and colored square- and hex-grid maps

Awesome Lists containing this project

README

        

# chorogrid
A python script to produce choropleths and colored square- and hex-grid maps

Examples:

![Examples](https://raw.githubusercontent.com/Prooffreader/chorogrid/master/examples.png "Examples")

There are two classes, Chorobin to assign colors to quantities, and Chorogrid to make the maps.

Maps are made in SVG format; if you need to convert them to PNG you can do so in an external application like Inkscape or Adobe Illustrator, or in python with CairoSVG among other solutions.

Pro tip, because I made this mistake for a long time: it's "choropleth", not "chloropleth"; there's no L. The word comes from ancient Greek χώρα (khṓra, “location”) and πλῆθος (plêthos, “a great number”, same root as *plethora*), not χλωρός (khlōrós, “pale green”) as in *chlorine* and *chlorophyll*. Luckily Google knows enough to suggest the right one.