Data visualization toolbox.
Project description
Welcome to the dataoutsider visualization toolbox!
Featuring
- pie-tree chart
- level plot
pie-tree chart
Need to display hierarchical density as pie-shaped areas?
- Select [1 to n] categorical columns from a dataframe to group by
- Configure the chart ordering and hierarchy orientation
- 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 do
df = do.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 = do.pie_tree_calc(
df, levels,
inner_radius,
outer_radius,
starting_angle,
ending_angle,
point_resolution)
do.pie_tree_plot(pie_tree_df, 4)
Variations:
inner_radius = 0.0
outer_radius = 2.0
starting_angle = 0.0
ending_angle = 90.0
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
do.pie_tree_plot(pie_tree_df, 3)
Level 2 bold outline
Level 3 thin outline
do.pie_tree_plot(pie_tree_df, 3)
Tableau users:
Examples:
- Functional ideas (including mapping): pie_tree
- Combined with a [Hierarchical Radial Tree Diagram]: Takeoff
Check back soon for updates!
Project details
Release history Release notifications | RSS feed
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.9.tar.gz
(9.7 kB
view details)
Built Distribution
File details
Details for the file dataoutsider-1.0.9.tar.gz
.
File metadata
- Download URL: dataoutsider-1.0.9.tar.gz
- Upload date:
- Size: 9.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd34281c925d8423a9896d190f4f54c597000eaf189c94012ab8015b887113f |
|
MD5 | 316aa95bfb9fcc409278aade4e4cf6cd |
|
BLAKE2b-256 | 81e02246867c6f3455672e1ba5de535e0c94a9703a583d896a572d87304354c1 |
File details
Details for the file dataoutsider-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: dataoutsider-1.0.9-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20f3fbc0a8baf74d6ebc85011444540b99aa1cb31e77f84f6607891f8f4b5fa0 |
|
MD5 | bb0bf6da89519cbcf68201895aa71e3e |
|
BLAKE2b-256 | 463b53adc8d96f27ea5470268977755e40f2e60e7949277eade3fd0f941a930a |