Skip to main content

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


Download files

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

Source Distribution

kgc_chart-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

kgc_chart-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file kgc_chart-1.0.0.tar.gz.

File metadata

  • Download URL: kgc_chart-1.0.0.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

Hashes for kgc_chart-1.0.0.tar.gz
Algorithm Hash digest
SHA256 46bc0d36be21e507ac3b485b5f85fa22edea97c8aec1ca06128b591e40f90d8c
MD5 f4a63a428ccc8788b250533f5e5035ff
BLAKE2b-256 c32a79b927d3c39d2ca540f9e3ce58d42fae82d98fe9d68f194d935d583a7dbb

See more details on using hashes here.

File details

Details for the file kgc_chart-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kgc_chart-1.0.0-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

Hashes for kgc_chart-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 019e77007e4b5b32f8d70b53297af145503a07984a8994681efdd320ee120a70
MD5 3df6e160f2426839b6f6cc48cdd812da
BLAKE2b-256 95743d6aa96ff9c9980644b13d82e4ed1bf26b21a50033b112164f1f108ed557

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