plotly

Featured

Interactive scientific and statistical data visualization library for Python. Use when creating charts, plots, or visualizations including scatter plots, line charts, bar charts, heatmaps, 3D plots, geographic maps, statistical distributions, financial charts, and dashboards. Supports both quick visualizations (Plotly Express) and fine-grained customization (graph objects). Outputs interactive HTML or static images (PNG, PDF, SVG).

AI & Automation 33,961 stars 4034 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Plotly Python graphing library for creating interactive, publication-quality visualizations with 40+ chart types. ## Quick Start Install Plotly: ```bash uv pip install plotly ``` Basic usage with Plotly Express (high-level API): ```python 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](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 See [reference/graph-objects.md](reference/graph-objects.md) for complete guide. **Note:** Plotly Express returns graph objects Figure, so you can combine approaches: ```python fig = px.scatter(df, x='x', y='y') fig.update_layout(title='Custom Title') # Use go methods on px figure fig.add_hline(y=10) # Add shapes ``` ## ...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category