attaviz
Publication-ready Altair themes, chart factories, and choropleth maps based on the World Bank Group Data Visualization Style Guide.
Documentation: https://datapartnership.github.io/attaviz/
Install
uv add "attaviz @ git+https://github.com/datapartnership/attaviz.git"
# or
pip install "git+https://github.com/datapartnership/attaviz.git"
Add the optional maps extra for choropleths: pip install "attaviz[maps] @ git+https://github.com/datapartnership/attaviz.git".
Quick start
import pandas as pd
import attaviz
attaviz.enable() # every chart now uses the WBG theme
data = pd.DataFrame(
{"country": ["Indonesia", "Malaysia"], "population": [280, 35]}
)
chart = attaviz.bar(
data,
category="country",
value="population",
title="Population by country (millions)",
)
See the documentation site for the full gallery and reference.
Release files for attaviz 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| attaviz-0.1.0.tar.gz | 34.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| attaviz-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.9 kB
Release files / attaviz-0.1.0.tar.gz
| Download URL | attaviz-0.1.0.tar.gz |
|---|---|
| Size | 34.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4e1c60ce9770555f813f5e8382963f63e25e96cd383ffc7976da5d94f54d871
|
|
BLAKE2b-256 checksum How to use checksums |
a1649cbc34b8cc06edd7a7a68ca9c9ae8423416fa5073107c983fd8c07d69c2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / attaviz-0.1.0-py3-none-any.whl
| Download URL | attaviz-0.1.0-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e438a7c8a4b5d960572e467a739489e52ac59d32d432bbc2632ea07cce1b16b8
|
|
BLAKE2b-256 checksum How to use checksums |
8b0ece2c577338a67460218fe378465b70963de71930c707f59d2aa11538d6ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|