express

Anonymous contributor's avatar
Anonymous contributor
Published May 21, 2024
Contribute to Docs

In Plotly, the express module is a high-level interface designed to simplify the creation of interactive and visually appealing plots by providing easy-to-use functions for a wide range of chart types, including line charts, scatter plots, bar charts, and more, allowing users to generate complex visualizations with minimal code.

Syntax

import plotly.express as px

express

.bar()
Generates a chart representing categorical data with vertical bars.
.box()
Creates a box plot to visualize the distribution of data points through their quartiles.
.funnel()
Generates a funnel chart that visualizes the reduction of data in progressive stages.
.histogram()
Creates a histogram, which is a graphical representation of the distribution of a dataset.
.line()
Creates line charts, also known as line plots or line graphs.
.pie()
Creates a pie chart, a circular statistical graphic divided into slices to illustrate numerical proportions.
.scatter()
Creates a scatter plot, which displays data points based on their values on the x and y axes.
.treemap()
Returns a visualization of hierarchical data using nested rectangles.
.violin()
Generates a violin plot that displays the distribution of numeric data across different categories.

All contributors

Contribute to Docs

Learn Python:Plotly on Codecademy