express
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
- .area()
- Creates an area chart by filling the space under a line plot to visualize trends and cumulative data.
- .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.
- .density_contour()
- Creates a 2D density contour plot that shows how data points are concentrated in a two-dimensional space.
- .density_heatmap()
- Creates a 2D histogram-based heatmap that visualizes the density of points in a dataset using color intensity.
- .ecdf()
- Creates ECDF plots, which are used for visualizing the proportion or count of observations that are less than or equal to a given value.
- .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.
- .icicle()
- Creates an icicle chart, a hierarchical visualization that displays data as nested rectangles, where each level represents a breakdown of the parent category.
- .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.
- .scatter_3d()
- Creates a 3D scatter plot to visualize data points across three dimensions (x, y, z) with options for color, size, and hover data.
- .strip()
- Creates a strip chart, which is a dot plot visualizing the distribution of a numerical variable for one or several groups.
- .sunburst()
- Generates a sunburst chart to visualize hierarchical data using nested circular sectors.
- .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
- Anonymous contributor
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Python:Plotly on Codecademy
- Career path
Computer Science
Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!Includes 6 CoursesWith Professional CertificationBeginner Friendly75 hours - Skill path
Data Science Foundations
Learn to clean, analyze, and visualize data with Python and SQL.Includes 15 CoursesWith CertificateBeginner Friendly55 hours - Career path
Data Scientist: Machine Learning Specialist
Machine Learning Data Scientists solve problems at scale, make predictions, find patterns, and more! They use Python, SQL, and algorithms.Includes 27 CoursesWith Professional CertificationBeginner Friendly95 hours - Course
Learn Python 3
Learn the basics of Python 3.12, one of the most powerful, versatile, and in-demand programming languages today.With CertificateBeginner Friendly23 hours