1. Aprende
  2. /
  3. Cursos
  4. /
  5. Building Dashboards with Dash and Plotly

Connected

Ejercicio

Interactive key stats table

Using graphs to display your data visually is a great way to visually see aggregated figures. Yet sometimes, you also need to see more numbers than is feasible to display in common visualization formats.

A key stakeholder in the e-commerce company, the finance department head, has heard of your great work but is someone who needs to see some figures in tabular rather than visual format. He has requested a dashboard displaying some aggregated stats in a tabular format. However, he wonders if you could also include some 'Dash magic' to make it a bit more interactive than his existing Excel spreadsheets?

Instrucciones

100 XP
  • Set up the money_fmt object for USD currency formatting below line 9 using the appropriate function and style parameters.
  • Add the money_fmt formatter to the 'Total Sales ($)' column in the column_defs below line 15.