ENGLISH

The Book of Dash

Book information

Publisher
No Starch Press
Year
2022
ISBN
9781718502239, 9781718502222, 2022020454
Language
english
Format
PDF
Filesize
3 MB (2894923 bytes)
Pages
\187
Time added
2023-02-05 16:35:34

Description

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 by building a twitter analysis dashboard that maps the number of likes certain accounts gained over time. build up skills through three more sophisticated projects. The first is a global analysis app that compares country data in three areas: the percentage of a population using the internet, percentage of parliament seats held by women, and CO2 emissions. Youâ??ll then build an investment portfolio dashboard, and an app that allows you to visualize and explore machine learning Title Page Copyright Dedication About the Authors Acknowledgments Introduction Why This Book Why Plotly Dash Who This Book Is For What’s in the Book Online Resources Part I: Crash Courses 1. Python Refresher Lists Adding Elements Removing Elements Reversing Lists Sorting Lists Indexing List Elements Slicing Dictionaries List Comprehension Object-Oriented Programming Classes and Objects Terminology Decorator Functions and Annotations Summary 2. Pycharm Tutorial Installing PyCharm Creating a Project Running a Dash App Installing Dash Through PyCharm Using Dash with GitHub Summary 3. A Crash Course in Pandas Visual Overview Cheat Sheet Installing pandas Creating Objects in pandas Series DataFrames Selecting Elements in DataFrames Select by Column Select by Index and Slice Select by Label Modifying an Existing DataFrame Summary Resources Part II: Building Applications 4. First Dash App Setting Up the Project Importing the Libraries Data Management Layout and Styling Styling: Embellishing Your App Dash Components HTML Components Core Components Dash Callbacks Callback Decorator Callback Function Callback Diagram Plotly Express Line Charts Summary 5. Global Data Analysis: Advanced Layouts and Graphs Setting Up the Project Importing the Libraries Data Management Dash Bootstrap Styling Dash Core Components Dash Callbacks Data Retrieval Callback Figure Creation Callback Callback Diagram Callback Ordering Plotly Express Choropleth Maps Summary 6. Investment Portfolio: Building Larger Apps Asset Allocation Download and Run the App App Structure Setting Up the Project Importing the Libraries Adding the Stylesheets Data Management Layout and Styling Components Tabs Card Containers and Sliders Input Containers Tool Tips Data Tables Content Tables Markdown Text Pie Chart Using Plotly Graph Objects Line Chart Using Plotly Graph Objects Dash Callbacks Interactive Figures Callbacks Using State Circular Callbacks and Synchronizing Components Callbacks with Multiple Inputs and Multiple Outputs Summary 7. Exploring Machine Learning Dashboard Apps to Make Machine Learning Models More Intuitive Classification: A Short Guide Support Vector Machines The SVM Explorer App Python Libraries Data Management Layout and Styling Layout Styling Reusable Components Defining a Card Defining a Formatted Slider Defining a Named Slider Defining a Named Dropdown Using a Dash Graph Creating a Plotly Contour Plot Using Dash Loading Dash Callbacks Summary Resources 8. Tips and Tricks Dash Enterprise App Gallery Enhancing Your Learning with the Plotly Forum App Theme Explorer Debugging a Dash App dash-labs Formatting Your Code with Black Follow-up Resources Appendix: Python Basics Index

Similar books