Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Interactive Dashboards and Data Apps with Plotly and Dash

You're reading from  Interactive Dashboards and Data Apps with Plotly and Dash

Product type Book
Published in May 2021
Publisher Packt
ISBN-13 9781800568914
Pages 364 pages
Edition 1st Edition
Languages
Author (1):
Elias Dabbas Elias Dabbas
Profile icon Elias Dabbas

Table of Contents (18) Chapters

Preface Section 1: Building a Dash App
Chapter 1: Overview of the Dash Ecosystem Chapter 2: Exploring the Structure of a Dash App Chapter 3: Working with Plotly's Figure Objects Chapter 4: Data Manipulation and Preparation, Paving the Way to Plotly Express Section 2: Adding Functionality to Your App with Real Data
Chapter 5: Interactively Comparing Values with Bar Charts and Dropdown Menus Chapter 6: Exploring Variables with Scatter Plots and Filtering Subsets with Sliders Chapter 7: Exploring Map Plots and Enriching Your Dashboards with Markdown Chapter 8: Calculating the Frequency of Your Data with Histograms and Building Interactive Tables Section 3: Taking Your App to the Next Level
Chapter 9: Letting Your Data Speak for Itself with Machine Learning Chapter 10: Turbo-charge Your Apps with Advanced Callbacks Chapter 11: URLs and Multi-Page Apps Chapter 12: Deploying Your App Chapter 13: Next Steps Other Books You May Enjoy

Learning about the different ways of using scatter plots: markers, lines, and text

We have a number of different options when using graph_objects to create scatter plots, as mentioned in the introduction, so we will be exploring it together with Plotly Express. To give you an idea of the versatility of the available scatter plots, the following code extracts all the scatter methods available to the Figure object, as well as those available in Plotly Express:

import plotly.graph_objects as go
import plotly.express as px
fig = go.Figure()
[f for f in dir(fig) if 'scatter' in f]
['add_scatter',
 'add_scatter3d',
 'add_scattercarpet',
 'add_scattergeo',
 'add_scattergl',
 'add_scattermapbox',
 'add_scatterpolar',
 'add_scatterpolargl',
 'add_scatterternary']
[f for f in dir(px) if 'scatter' in f]
['scatter',
 'scatter_3d',
 'scatter_geo',
 &apos...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}