Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

Plotly

Plotly interactive visualization library. Use for interactive charts.

majiayu000 4852dae 2 files · 1.7 KB Updated 567 repo stars

File contents

Plotly

Plotly creates interactive (zoomable, hoverable) charts in the browser. v6.0 (2025) drops big dependencies (Pandas is optional) and improves performance.

When to Use

  • Dashboards: Streamlit, Dash.
  • 3D Plots: Rotating 3D scatter plots.
  • Interactivity: Users need to drill down into data.

Core Concepts

Plotly Express (px)

High-level API. px.scatter(df, x="a", y="b", color="c").

Graph Objects (go)

Low-level API. go.Figure(data=[go.Scatter(...)]).

Dash

The framework for building web apps with Plotly charts.

Best Practices (2025)

Do:

  • Use Plotly Express: It covers 90% of use cases.
  • Use WebGL: render_mode='webgl' for large datasets (>10k points).

Don't:

  • Don't use it for static papers: Use Matplotlib for print.

References

majiayu000/claude-skill-registry-data/tree/main/data/plotly-g1joshi-agent-skills commit 4852dae3c5

Frequently asked questions

npx skillmds add majiayu000/plotly-2