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
- .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.
- .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.
- .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 Friendly54 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 Friendly90 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