attaviz
World Bank Group data visualization theme for Altair
An Altair theme implementing the World Bank Group Data Visualization Style Guide.
import altair as alt
import attaviz
attaviz.enable()
chart = alt.Chart(data).mark_bar().encode(
x="category:N",
y="value:Q",
color="category:N",
)Start here
Reference
- Theme: what the theme applies, size variants, and per-chart sizing.
- Color palettes: categorical, sequential, diverging, semantic, pillars, greys.
- Formatting & helpers: number/date formatting, captions, hover, selections.