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.6.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

dataoutsider-1.0.6-py3-none-any.whl (171.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dataoutsider-1.0.6.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for dataoutsider-1.0.6.tar.gz
Algorithm Hash digest
SHA256 4c0ef5128d64d733a76970857d18af3ad5e13b49fc328d5d9fc6b7b0c017770a
MD5 464deff103243f55382eb3782dfe970f
BLAKE2b-256 d65d2ad1c71482973cbe8b5a6b0dfbad9e9b17e53680ee649dd86c912f9d996a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dataoutsider-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 171.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for dataoutsider-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5ba2982043a47e1938c2a6d8da9badb239557e1215e56f2520abc61ef3c40928
MD5 e99bf2fa0e9983be6ba0c56880e56fe2
BLAKE2b-256 ab6d50d9b181dbed47067e75ab91511f6d0c654209423ef7e89c394864ac9f88

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