Notebook

May 30, 2024, 4:06 AM

Make a horizontal stacked bar chart for each country in Fig1, with one section being the CCE Performance and the second being CCE Enablers

The task was to create a horizontal stacked bar chart for each country in Fig1, with sections representing 'CCE Performance' and 'CCE Enablers'.
Steps Taken:
  1. Loaded the Excel file and displayed the sheet names.
  2. Extracted relevant data from the 'Fig1' sheet.
  3. Created a horizontal stacked bar chart using Plotly.
Chart Details:
  • The horizontal stacked bar chart displays 'CCE Performance' and 'CCE Enablers' for each country.
  • 'CCE Performance' is shown in a darker blue (#4701FF).
  • 'CCE Enablers' is shown in a lighter blue (#5074FF).
  • The chart includes appropriate titles, axis labels, and legend for clarity.
Get started with Vizly