New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Interactive Python charting library with Plotly Express shortcuts and fine-grained graph objects control.

skills.sh installs
1.1K
GitHub stars
34.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers 40+ chart types across basic, statistical, scientific, financial, geographic, 3D, and specialized categories
  • Provides a high-level Plotly Express API for quick pandas-based plots and a graph objects API for custom figures
  • Includes subplot layouts, built-in templates such as plotly_dark and ggplot2, and interactive hover, zoom, and animation features
  • Exports standalone HTML or static PNG, PDF, and SVG files, with kaleido required for static images

Install

$ npx -y skills add davila7/claude-code-templates --skill plotly -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Plotly

Python graphing library for creating interactive, publication-quality visualizations with 40+ chart types.

Quick Start

Install Plotly:

uv pip install plotly

Basic usage with Plotly Express (high-level API):

import plotly.express as px
import pandas as pd

df = pd.DataFrame({
    'x': [1, 2, 3, 4],
    'y': [10, 11, 12, 13]
})

fig = px.scatter(df, x='x', y='y', title='My First Plot')
fig.show()

Choosing Between APIs

Use Plotly Express (px)

For quick, standard visualizations with sensible defaults:

  • Working with pandas DataFrames
  • Creating common chart types (scatter, line, bar, histogram, etc.)
  • Need automatic color encoding and legends
  • Want minimal code (1-5 lines)

See reference/plotly-express.md for complete guide.

Use Graph Objects (go)

For fine-grained control and custom visualizations:

  • Chart types not in Plotly Express (3D mesh, isosurface, complex financial charts)
  • Building complex multi-trace figures from scratch
  • Need precise control over individual components
  • Creating specialized visualizations with custom shapes and annotations

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Python
First seen
May 16, 2026

More from davila7/claude-code-templates

All 398