Skip to main content

A Python package that provides a simple interface to create Kazakhstan maps using Plotly

Project description

Plotly Kazakhstan Map

plotly_kz_map — is a Python package that provides a simple interface to create Kazakhstan maps using Plotly.

Installation

pip install plotly-kz-map

Features

  • Drop in replacement for Plotly choropleth function, but with Kazakhstan regions support.

Example

Here is an example using plotly_kz_map to visualize the population of Kazakhstan by regions.

import plotly_kz_map as px

# load a sample dataset as a pandas DataFrame
df = px.data.kazakhstan_population()

fig = px.choropleth(
    locations=df.region,
    locationmode="KZ-regions",
    color=df.population,
)

fig.show()

Plotly Kazakhstan Map continuous

Or you can use a discrete color scale:

import plotly_kz_map as px

# load a sample dataset as a pandas DataFrame
df = px.data.kazakhstan_population()

fig = px.choropleth(
    locations=df.region,
    locationmode="KZ-regions",
    color=df.region,
)

fig.show()

Plotly Kazakhstan Map discrete

License

MIT

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

plotly_kz_map-0.0.1.post1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

plotly_kz_map-0.0.1.post1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file plotly_kz_map-0.0.1.post1.tar.gz.

File metadata

  • Download URL: plotly_kz_map-0.0.1.post1.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for plotly_kz_map-0.0.1.post1.tar.gz
Algorithm Hash digest
SHA256 9264ec049f29786e905666c76737bc9a18480bc4727d918bbd86729879fa7d2a
MD5 c66398ba7ac7f6baac410eab63330ea6
BLAKE2b-256 dc6e980c6492a161bb619b2f190385043d996f8d18098ee2bc4e098c254a6f2c

See more details on using hashes here.

File details

Details for the file plotly_kz_map-0.0.1.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for plotly_kz_map-0.0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e3c71d943407649562b28b9e0d1479bf7e8983da8bf98c13aa5bb46411f3e41
MD5 c5cf5caad2115aa3300c95c13358f155
BLAKE2b-256 5cf66ad5ef01f20a41825952af72efb7249089c22558557bf370a3946388dc51

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