Plotly

6.6.0 · active · verified Sat Mar 28

Plotly is an interactive, open-source data visualization library for Python, built on top of the Plotly JavaScript library (plotly.js). It supports over 40 unique chart types, enabling users to create rich, interactive web-based visualizations that can be displayed in Jupyter notebooks, saved as standalone HTML files, or integrated into pure Python web applications using Dash. Currently at version 6.6.0, Plotly maintains an active development and release cadence.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates creating a basic bar chart using `plotly.express`, the high-level API. The `fig.show()` method renders the interactive plot, typically in a browser or Jupyter environment.

import plotly.express as px

# Create a simple bar chart
fig = px.bar(x=["A", "B", "C"], y=[1, 3, 2], title="My First Plotly Chart")

# Display the figure (opens in browser/notebook)
fig.show()

view raw JSON →