The Book of Dash

Build Dashboards with Python and Plotly

Look inside
Paperback
$34.99 US
On sale Oct 25, 2022 | 224 Pages | 9781718502222

See Additional Formats
Create stunning interactive dashboard applications in Python with the Dash visualization and data analysis tool. Build interfaces that make sense of your data, and make it pretty.

A swift and practical introduction to building interactive data visualization apps in Python, known as dashboards. You’ve seen dashboards before; think election result visualizations you can update in real time, or population maps you can filter by demographic. With the Python Dash library you’ll create analytic dashboards that present data in effective, usable, elegant ways in just a few lines of code.
 
The book is fast-paced and caters to those entirely new to dashboards. It will talk you through the necessary software, then get straight into building the dashboards themselves. You’ll learn the basic format of a Dash app in a Twitter analysis dashboard that tracks numbers of likes over time. You’ll then build up skills through three more sophisticated projects. The first compares world data in three areas: volume of internet usage, percentage of parliament seats held by women, and CO2 emissions; the second is a financial portfolio dashboard that models your investments; and the third is visualizesmachine learning algorithms. The final chapter sets you up with some useful final skills, like debugging your code and applying color themes.
 
In this book you will:
  • Create and run your first Dash apps
  • Use the pandas library to manipulate and analyze social media and API data
  • Create a variety of stunning and effective charts using Plotly
  • Learn to use bar charts, chloropleth maps, contour plots, and more
  • Examine and build on existing apps written by the pros
  •  
    Dash combines several technologies to get you building dashboards quickly and efficiently. This book will do the same.
    Acknowledgments
    Introduction
    PART I: CRASH COURSES
    Chapter 1: Python Refresher
    Chapter 2: PyCharm Tutorial
    Chapter 3: Pandas Crash Course
    PART II: BUILDING APPLICATIONS
    Chapter 4: First Dash App
    Chapter 5: Global Data Analysis: Advanced Layouts and Graphs
    Chapter 6: Investment Portfolio: Building Larger Apps
    Chapter 7: Exploring Machine Learning
    Chapter 8: Tips and Tricks
    Appendix: Python Basics
    Index
    Adam Schroeder has been teaching Plotly Dash for over two years on YouTube as @CharmingData. His videos have over 60 thousand views per month. Adam is passionate about helping people learn data visualization. He has an M.A. in Government and Conflict Resolution and currently works at Plotly.
     
    Christian Mayer has a PhD in computer science and is the founder of the popular Python site Finxter.com, an educational platform that helps more than 3 million people a year learn to code. He has published a number of books, including the Coffee Break Python series, and is the author of Python One-Liners (No Starch Press, 2020).
     
    Ann Marie Ward is a Dash contributor and a moderator on the Dash community forum. Ann Marie has a BA in Economics and is a retired CEO. She discovered Dash when searching for a better way to analyze financial data and was so amazed by what's possible to create with Dash that she started to learn Python, JavaScript and R. Her contributions to Dash include improving documentation, fixing bugs, and adding features.

    About

    Create stunning interactive dashboard applications in Python with the Dash visualization and data analysis tool. Build interfaces that make sense of your data, and make it pretty.

    A swift and practical introduction to building interactive data visualization apps in Python, known as dashboards. You’ve seen dashboards before; think election result visualizations you can update in real time, or population maps you can filter by demographic. With the Python Dash library you’ll create analytic dashboards that present data in effective, usable, elegant ways in just a few lines of code.
     
    The book is fast-paced and caters to those entirely new to dashboards. It will talk you through the necessary software, then get straight into building the dashboards themselves. You’ll learn the basic format of a Dash app in a Twitter analysis dashboard that tracks numbers of likes over time. You’ll then build up skills through three more sophisticated projects. The first compares world data in three areas: volume of internet usage, percentage of parliament seats held by women, and CO2 emissions; the second is a financial portfolio dashboard that models your investments; and the third is visualizesmachine learning algorithms. The final chapter sets you up with some useful final skills, like debugging your code and applying color themes.
     
    In this book you will:
  • Create and run your first Dash apps
  • Use the pandas library to manipulate and analyze social media and API data
  • Create a variety of stunning and effective charts using Plotly
  • Learn to use bar charts, chloropleth maps, contour plots, and more
  • Examine and build on existing apps written by the pros
  •  
    Dash combines several technologies to get you building dashboards quickly and efficiently. This book will do the same.

    Table of Contents

    Acknowledgments
    Introduction
    PART I: CRASH COURSES
    Chapter 1: Python Refresher
    Chapter 2: PyCharm Tutorial
    Chapter 3: Pandas Crash Course
    PART II: BUILDING APPLICATIONS
    Chapter 4: First Dash App
    Chapter 5: Global Data Analysis: Advanced Layouts and Graphs
    Chapter 6: Investment Portfolio: Building Larger Apps
    Chapter 7: Exploring Machine Learning
    Chapter 8: Tips and Tricks
    Appendix: Python Basics
    Index

    Author

    Adam Schroeder has been teaching Plotly Dash for over two years on YouTube as @CharmingData. His videos have over 60 thousand views per month. Adam is passionate about helping people learn data visualization. He has an M.A. in Government and Conflict Resolution and currently works at Plotly.
     
    Christian Mayer has a PhD in computer science and is the founder of the popular Python site Finxter.com, an educational platform that helps more than 3 million people a year learn to code. He has published a number of books, including the Coffee Break Python series, and is the author of Python One-Liners (No Starch Press, 2020).
     
    Ann Marie Ward is a Dash contributor and a moderator on the Dash community forum. Ann Marie has a BA in Economics and is a retired CEO. She discovered Dash when searching for a better way to analyze financial data and was so amazed by what's possible to create with Dash that she started to learn Python, JavaScript and R. Her contributions to Dash include improving documentation, fixing bugs, and adding features.

    Three Penguin Random House Authors Win Pulitzer Prizes

    On Monday, May 5, three Penguin Random House authors were honored with a Pulitzer Prize. Established in 1917, the Pulitzer Prizes are the most prestigious awards in American letters. To date, PRH has 143 Pulitzer Prize winners, including William Faulkner, Eudora Welty, Josh Steinbeck, Ron Chernow, Anne Applebaum, Colson Whitehead, and many more. Take a look at our 2025 Pulitzer Prize

    Read more

    Books for LGBTQIA+ Pride Month

    In June we celebrate Lesbian, Gay, Bisexual, Transgender, Queer, Intersex, and Asexual + (LGBTQIA+) Pride Month, which honors the 1969 Stonewall riots in Manhattan. Pride Month is a time to both celebrate the accomplishments of those in the LGBTQ+ community and recognize the ongoing struggles faced by many across the world who wish to live

    Read more