Skip to main content

A package for plotting choropleth maps

Project description

geostates

pypi downloads License:MIT DOI

Geostates is a Python package for quickly plotting choropleth maps of the United States.

Installation

PyPI

To install geostates run: pip install geostates.

Dev roadmap

The current version of geostates only allows for plotting choropleth maps of the United States using a very specific set of shapefiles. In the future, the goal is to add:

  • Ability to plot United States maps with county-level data.
  • Add support for Congressional Districts, Metropolitan Statistical Areas, and Zip Code Areas to individual state plots.
  • Add support for plotting categorical data for United States maps.
  • Add features for plotting political science maps (ie. Electoral College maps, etc.).

How to contribute

You can contribute to the geostates package by installing it and giving it a try. You can also file issues on the issue tracker or submit a pull request if you would like to make any improvements.

Acknowledgements

  • This package's core functionality relies substantially on the geopandas package.
  • The idea to use inset axes for this package came from Cimbali. A helpful explanation on utilizing segmented colormaps came from JohanC. As mentioned in the comments, the function for discretizing matplotlib colormaps was inspired by an example provided in Jake VanderPlas' Python Data Science Handbook.

Project details


Download files

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

Source Distribution

geostates-0.1.2.tar.gz (14.8 MB view details)

Uploaded Source

Built Distribution

geostates-0.1.2-py3-none-any.whl (14.8 MB view details)

Uploaded Python 3

File details

Details for the file geostates-0.1.2.tar.gz.

File metadata

  • Download URL: geostates-0.1.2.tar.gz
  • Upload date:
  • Size: 14.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for geostates-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8401d5b4ff8b748b8054cda729bb68205a09bcc23fc112d48bc708cc75b5de49
MD5 37a51bff6826d8c0261ae7048bfee294
BLAKE2b-256 60cd3d83d9182dbd9c052eee679a04e55513bec4db8179d8f2d03c68904676b3

See more details on using hashes here.

File details

Details for the file geostates-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: geostates-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for geostates-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5536b60782882ff9e0fc4fb364b69b702919b1c3d8da76fea143a0ba935634d
MD5 f436861143cd2a527bcb53badd500ce6
BLAKE2b-256 353c7b6cd62bda0d8a00496ff2401a6d7144dec97aa39edbd4779c306da3a6dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page