altair — Easy Examples
Declarative statistical visualization based on Vega-Lite
Getting started with altair
Installation and basic usage of altair.
python
# Install: pip install altair import altair # Basic altair usage print(f"Using altair") # See documentation for detailed examples
Expected Output
# Expected output shown below # (Run locally with: altair)
altair is a third-party package. Declarative statistical visualization based on Vega-Lite. Install with: pip install altair
Common altair operations
Frequently used features of altair.
python
# Install: pip install altair import altair # Common altair patterns print(f"altair version: {altair.__version__}")
These are the most commonly used features of altair in everyday development.
Want to try these examples interactively?
Open Easy Playground