altair

Generate interactive declarative charts with the Altair Python library.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/bswrundquist/devtools --skill altair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: altair
Source: https://github.com/bswrundquist/devtools/tree/main/src/devtools/templates/claude/user/.claude/skills/altair
Command: npx skills add https://github.com/bswrundquist/devtools --skill altair

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires altair, pandas, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you create professional, interactive, and visually appealing data visualizations using the Altair library, making your data easier to understand and communicate.

Core Features & Use Cases

  • Declarative Visualization: Describe your desired chart, and Altair handles the rendering.
  • Interactive Charts: Easily add tooltips, zooming, and panning to your visualizations.
  • Formatted Data: Apply clear formatting for currency, percentages, and large numbers.
  • Use Case: Generate a bar chart showing quarterly revenue, with clear currency formatting and interactive tooltips that display exact figures on hover.

Quick Start

Use the altair skill to create a bar chart with formatted currency labels from the provided data.

Frequently Asked Questions about altair

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create interactive charts in Python using Altair?

To create interactive charts in Python using Altair, you use a declarative syntax to describe your visualization, and the library handles rendering tooltips, zooming, and panning for web-ready outputs.

What is declarative data visualization and how does it work?

Declarative data visualization is an approach where you describe the desired chart properties and links to data, letting the Altair library automatically handle the rendering logic for professional graphical representations.

Can I format currency and percentages in Altair charts?

Yes, you can format currency and percentages in Altair charts to apply clear formatting for large numbers, ensuring your data analysis presentations display exact figures properly on axes and tooltips.

Do I need pandas and numpy to plot data with Altair?

Yes, you need pandas and numpy alongside the altair library to structure and process your input data before generating the declarative visualizations and interactive charts.

How do I add interactive tooltips to a Python plotting chart?

You add interactive tooltips to a Python plotting chart by declaring the tooltip encoding within Altair, allowing users to hover over data points and display exact figures on modern web-ready outputs.

What is the best way to visualize quarterly revenue data in Python?

The best way to visualize quarterly revenue data in Python is using Altair to generate a bar chart with clear currency formatting, labeled axes, and interactive tooltips that display exact figures on hover.