Skip to main content

Visualization toolbox for income distribution

Project description


License: MIT Python Versions PyPI Version Downloads

Paper | Step-by-step Notebook | Documentation | PyPI package |External Resources

Are you a policy-maker who wants to see the dynamics of national income inequality? Are you a researcher who wants to visualize economic growth puzzles such as convergence? Or are you simply a curious individual who wants to see your position in the national income distribution? Wonder no more because we present incomevis, a library for income visualization (and more)!

Comparing incomes is complicated. We offer three default deflators (consumer price index, household size, and regional price parities) to adjust nominal household income. The income adjustment process is automatically handled for you. You can further adjust our deflated incomes if you have additional variables that you want to incorporate. Also, if you like interactive visualization, our graph can be displayed using JavaScript's amChart library. If you prefer an animated visualization, we offer a dynamically controlled animation of our graph based on Python Matplotlib library.

Happy visualizing economic complexity!

Installation

incomevis can be installed via pip:

$ pip install incomevis

Gallery

Interactive graph (top) and dynamic graph (bottom) is implement in JavaScript AmChart and Python Matplotlib, respectively. More instant examples of interactive graphs can be found at research.depauw.edu/econ/incomevis. Animated graphs with better control can be generated in a (preferably local) Python environment (for example, see this notebook).

4 levels of deflating income.

Bellow are bootstrap resampling of 50p of DC in 1977 10000 times (bottom right) and 1 million times (bottom left). We also show the relative growth of CA and DC overtime.

A completed and separated page for gallery will be available soon!

Contact

Any question, feedback, or comment can be directed to sttruong@stanford.edu or hbarreto@depauw.edu.

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

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

Source Distribution

incomevis-1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

incomevis-1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file incomevis-1.0.tar.gz.

File metadata

  • Download URL: incomevis-1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for incomevis-1.0.tar.gz
Algorithm Hash digest
SHA256 0d05e90ba46f9d9a4713a0742da9cd0837771538eea9daeaeb6bebb337d3403e
MD5 876cbddc9b4d841d876638a0fc978a24
BLAKE2b-256 6f9ddc04f2eb5d23903dd21a406bf58b1040d1621f02f76ccc350b45f97c186b

See more details on using hashes here.

File details

Details for the file incomevis-1.0-py3-none-any.whl.

File metadata

  • Download URL: incomevis-1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for incomevis-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5278917904ebea8e17f1d3036e1e12a10c5f44b1dcab080e7121c9a905556046
MD5 e863d8b56bbbf3783878d9ff2a65f26b
BLAKE2b-256 ec318b23ee6aec047d0168651c3a0cb534b8c9918d402d31edbf9176d6a580f4

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