Altair

Vega-Altair is a declarative statistical visualization library for Python.

Introducció

Vega-Altair is a declarative statistical visualization library for Python, based on Vega and Vega-Lite.

Crea un projecte nou:

uv init polars-altair
cd polars-altair
uv add altair[all]

It offers a powerful and concise grammar that enables you to quickly build a wide range of statistical visualizations.

Here is an example of using the API to visualize a dataset with an interactive scatter plot: