Skip to content
datapartnershipPublic

About

Altair theme implementing the World Bank Group Data Visualization Style Guide.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

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
# or
pip install attaviz

Add the optional maps extra for choropleths: pip install "attaviz[maps]".

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.

About

Altair theme implementing the World Bank Group Data Visualization Style Guide.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from worldbank/template