
Interactive Dashboards and Data Apps with Plotly and Dash
By :

We will mostly be focusing on using Plotly Express as much as possible, because of its convenience, and the other advantages previously discussed in Chapter 4, Data Manipulation and Preparation - Paving the Way to Plotly Express. It's still very important to know how to work with Figure
objects as you will encounter many situations where you will need to work with them, especially when you have a lot of customizations to make. Also, keep in mind that although the most important chart types are supported by Plotly Express, not all of them are.
Let's extend the preceding chart with traces of other countries and compare the two approaches. We start with the graph_objects
module's Figure
object:
countries
list to filter with:countries = ['Argentina', 'Mexico', 'Brazil']
poverty
, which we will call df
, where the values of the Country Name...