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.2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file plotly_kz_map-0.0.2.tar.gz.

File metadata

  • Download URL: plotly_kz_map-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a1e64b8865dc1237b8c42aee5d007a50c551d16cada2e45c633cf2412aa18284
MD5 f29fec62eb722963d753ed4bab2ccb6b
BLAKE2b-256 e0b2641f7fade64f3461623f84436ea287ad831018c15111f8385ad14dc819a1

See more details on using hashes here.

File details

Details for the file plotly_kz_map-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for plotly_kz_map-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a825c2ee5942226569feb40921b81fef46f2af54d7849d8f2c2d3e361f69ce3
MD5 f5e69002592c8727f1cd3606dcc669bc
BLAKE2b-256 8b22ec73323c1e4def6ea0e94ab452561400a01d8fb6ee0e6495b7356e7bbaee

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