← ClaudeAtlas

plotly-interactive-plotslisted

Interactive scientific visualization with Plotly. Two APIs: plotly.express (px) for one-liner DataFrame plots, plotly.graph_objects (go) for trace-level control. 40+ chart types with hover, zoom, pan, animation. Exports HTML or static PNG/SVG/PDF via kaleido. Use for volcano plots with gene hover, dose-response dashboards, expression heatmaps, 3D molecular views. Use seaborn for stats; matplotlib for publication figures.
jaechang-hits/SciAgent-Skills · ★ 199 · Data & Documents · score 81
Install: claude install-skill jaechang-hits/SciAgent-Skills
# Plotly Interactive Plots ## Overview Plotly is a Python library for producing interactive, web-ready figures backed by HTML and JavaScript. It exposes two complementary APIs: `plotly.express` (px) provides a high-level, DataFrame-oriented interface for generating common chart types in one line, while `plotly.graph_objects` (go) offers fine-grained control over every trace, axis, and layout property. Figures are fully interactive by default — supporting hover tooltips, zoom, pan, and click events — and can be embedded in web pages, Jupyter notebooks, or built into web applications using the Dash framework. ## When to Use - You need hover tooltips that display gene names, p-values, or sample metadata without cluttering the static figure. - You are building a multi-panel interactive dashboard for dose-response curves, patient cohorts, or multi-condition comparisons. - You want to share figures as self-contained HTML files that non-programmers can explore in a browser. - You need 3D scatter or surface plots for structural biology, conformational landscapes, or PCA of high-dimensional data. - You are creating heatmaps of gene expression or correlation matrices where users need to zoom into specific gene clusters. - You require animation frames to show time-series or treatment-response trajectories. - Use `seaborn` instead when you need automatic statistical aggregation (confidence intervals, regression fits) with minimal code. - Use `matplotlib` when you need fine-grained co