altair
Installation
SKILL.md
Altair Data Visualization Skill
Use this skill when tasked with generating charts, graphs, and plots using Python. Altair is a declarative statistical visualization library for Python, based on Vega and Vega-Lite. Our environment relies on Altair instead of Matplotlib and Seaborn for all new plots.
Setup
Ensure altair and vl-convert-python are available locally via uv.
import altair as alt
import pandas as pd
Creating Charts
Altair expects data in a Pandas DataFrame, preferably in long format (melted).
Example: Line Chart with Multiple Series
import pandas as pd
import altair as alt