Skip to main content

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

Project description

# 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

chorogrid-0.0.1-py2.py3-none-any.whl (2.1 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page