1. Learn
  2. /
  3. Courses
  4. /
  5. Building Dashboards with Dash and Plotly

Connected

Exercise

Bar graph of sales by country

The global e-commerce company greatly enjoyed your work on their line figure. However, they have a more challenging task for you and want to see if your Plotly powers are customizable enough for their corporate reporting requirements.

They would like to be able to visualize total sales by Country but want to ensure the bars are clear and separate enough to see each distinctly. This is a tricky one, but you are up to the challenge!

Instructions

100 XP
  • Create a bar graph object called bar_fig.
  • Set the graph to be horizontal.
  • Update the layout of bar_fig to increase the distance between bars.