The layout of the code is inspired by the Model-View-Controller paradigm, specifically from this Dash tutorial. In addition, parameters and constants that someone would want to change when forking this are frontloaded in ALL_CAPS variables, in order to make modification easier. The names of DIVs used in callbacks are also stored in variables in order to reduce the risk of bugs since variable names are linted to see if they exist.
Doing so will allow easier modification of the dashboard in the future.
Referencing documentation from internal dash:
Doing so will allow easier modification of the dashboard in the future.