Skip to main content

Data visualization toolbox.

Project description

Welcome to the dataoutsider visualization toolbox!

Featuring

  • pie_tree chart
    • level plot

pie_tree

Need to display hierarchical density as pie-shaped areas?

  1. Select [1 to n] categorical columns from a dataframe to group by
  2. Configure the chart ordering and hierarchy orientation
  3. The pie_tree chart will create a hierarchical set of areas sized by the number of rows in each group at each level

Example:

import dataoutsider as dr

df = dr.load_aircraft_df()
levels = ['Registrant', 'Aircraft', 'Engine', 'seats_bin']

inner_radius = 0.5
outer_radius = 2.0
starting_angle = 0.0
ending_angle = 360.0
point_resolution = 200
pie_tree_df = dr.pie_tree_calc(
    df, levels, 
    inner_radius, 
    outer_radius, 
    starting_angle, 
    ending_angle, 
    point_resolution)

dr.pie_tree_plot(pie_tree_df, 4)

This is a alt text.

Variations:

inner_radius = 0.0
outer_radius = 2.0

This is a alt text.

starting_angle = 0.0
ending_angle = 90.0

This is a alt text.

Extra Parameters:

Parameter Values Description
default_sort True/False Default: False, True: pandas sort, False: data sort
default_sort_override True/False Default: True, True: overrides default_sort
default_sort_override_reversed True/False Default: False, sort areas True: desc, False: asc
all_vertical True/False Default: False, True: break levels vertically, False: alternate

Plotting:

From the above example with 4 possible levels:

Level 3 only

dr.pie_tree_plot(pie_tree_df, 3)

This is a alt text.

Level 2 bold outline

Level 3 thin outline

dr.pie_tree_plot(pie_tree_df, 3)

This is a alt text.

Tableau users:

Examples:

  • Functional ideas (including mapping): pie_tree
  • Combined with a [Hierarchical Radial Tree Diagram]: Takeoff

Check back soon for updates!

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

dataoutsider-1.0.7.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

dataoutsider-1.0.7-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file dataoutsider-1.0.7.tar.gz.

File metadata

  • Download URL: dataoutsider-1.0.7.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for dataoutsider-1.0.7.tar.gz
Algorithm Hash digest
SHA256 a1d15d45a1879abd5fc012b267e7f650f9c9e00981b4b7431d6388704d42d3a7
MD5 fc2962258f817873f25cd3554bdc131e
BLAKE2b-256 a4d072ed7947debcb22901a4260c44e04331ab625200c036edd385f5f1c6ce41

See more details on using hashes here.

File details

Details for the file dataoutsider-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: dataoutsider-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for dataoutsider-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3c9fa4cd577e28d2ed736ec7b01d043492d1623c44d896005818a6369eb9d7d8
MD5 abbf5bdfc1dd2d23e3085afd69390594
BLAKE2b-256 5f2f1c3d5cd055ae82c5e64a285b14682dc9b9ddbf8c5af19729e0defd1014fd

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