Generating Krüger-Gauge-Circular-Charts
Project description
krüger-gauge-circular-chart is an addition to the gauge-circular-chart. the added feature is another data dimension the chart, by adjusting the bar width of each bar seperately.
below there is a code example.
""" data = {"Pigs":(2,50), "Cows":(3,350), "Dogs":(5,125), "Chickens":(0.7, 20)}
k_c_g_chart = krueger_circular_gauge_chart(data)
k_c_g_chart.draw()
k_c_g_chart.add_labels()
k_c_g_chart.save_and_display_image()
print(k_c_g_chart) """
the data passed is hypothetical data of a farm, with the first element the age at which the animals are slaughtered, the second element the amount of animals slaughtered the main difference between a krüger-gauge-circular-chart and a bar chart with variable bar width is the functionality of display. a bar chart displays the whole amount as an area (A = length * width), which makes sense when the two variables are compatible to multiply (e.g. per Capita CO2 emissions and number of people). However, as seen in the hypothetical data above, this chart type is not compatible, as the interesting fact is not the whole amount of years lived by the animals, but the comparison of amount of animals slaughtered and their age.
est. December 2021
Christoph Krüger
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
Built Distribution
File details
Details for the file kgc_chart-1.0.1.tar.gz
.
File metadata
- Download URL: kgc_chart-1.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/2.1.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa4ff13825e744d1c0ccc2dcfbd1df651109bd1c997141f898c0dfad2a5baa25 |
|
MD5 | 8e95d57d899590e16d02dd4f5e155aa8 |
|
BLAKE2b-256 | f6e1917ed1f4beb0bdaabe51ab7ece775cd0207b0c0924a2defcbffc96812585 |
File details
Details for the file kgc_chart-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: kgc_chart-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/2.1.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8a80bd5757fda4a2e19639ea0088e0155782c46930028fe84d59d44d4788cc6 |
|
MD5 | 337aabc85880c54753a83717ff7da512 |
|
BLAKE2b-256 | dc0cabd6d679dac34c3789e90d5c6cbef24e67d41d616e7a145fb3c97ede207d |