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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: plotly_kz_map-0.0.1.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.tar.gz
Algorithm Hash digest
SHA256 5eed3e53ae938b7e09702e9711629d3d9374f83ef25bec779624d023fffbc848
MD5 be47b382ce1795740b0ae175b92ccbd9
BLAKE2b-256 c4a510d94bd0a44f3393715a94fb7ab6605f179c9a983b4e6d1aa582b23b4585

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plotly_kz_map-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77403d152aa4c09727e0007de357b27cad22f9707a9fee50ba0c5e110c2c49b6
MD5 c64872a7280595b90c593f9fac4661e5
BLAKE2b-256 974f957b42cd7a9b1be9ef6300d8db2885c4ae3be2022c81777fec9f473dbd20

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