Technical requirements
We will focus on using the Figure
object from the graph_objects
module of the plotly
package. Later in the chapter, we will utilize the other packages that we have been using to improve our app and add an interactive chart to it. As a reminder, the packages that we will use are Dash, Dash HTML Components, Dash Core Components, Dash Bootstrap Components, JupyterLab, Jupyter Dash, and pandas.
The packages can be individually installed by running pip install <package-name>
, but it would be better to install the exact same versions that we use here, to reproduce the same results. You can install them all by running one command, pip install –r requirements.txt
, from the root folder of the repository. The latest version of the poverty dataset can be downloaded from this link: https://datacatalog.worldbank.org/dataset/poverty-and-equity-database. However, as with the packages, if you want to reproduce the same results, you can access the dataset from...