Sharing Data between Multipage App Pages - Plotly Dash
Charming Data
This tutorial will show you how to share data between pages of a multipage app. There are 3 ways to share data in a Dash app:
- in the app user's browser (dcc.Store),
- on the disk (e.g. databases),
- server-side memory (e.g. Redis). We will focus on the dcc.Store, where data shared should not exceed 10mb.
My GitHub Code: https://github.com/Coding-with-Adam/Dash-by-Plotly/tree/master/Dash_More_Advanced_Shit/Sharing_data_multipage_app
Dash Docs Sharing Data: https://dash.plotly.com/sharing-data-between-callbacks
Dash Docs Store Component: https://dash.plotly.com/dash-core-components/store
Video layout: 00:00 - What you will learn 01:58 - App file - Storing Initial Data 06:50 - Bargraph file 08:27 - Building the Dropdown 10:54 - Building the graph 14:02 - Table file
š Your support keeps Charming Data running, which is proudly a 100% member-supported educational channel: Patreon: https://www.patreon.com/charmingdata GitHub: https://github.com/sponsors/Coding-with-Adam YouTube: https://www.youtube.com/channel/UCqBFsuAz41sqWcFjZkqmJqQ/join ... https://www.youtube.com/watch?v=Np090pWEjIs
81297498 Bytes