rairo commited on
Commit
607fd22
·
verified ·
1 Parent(s): f4e0a2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def create_dashboard(data):
81
  # Event Types Distribution
82
  event_counts = data['events'].groupby('Event')['Order Value $'].sum().reset_index()
83
  event_counts.columns = ['Event', 'Order Value $'] # Rename columns explicitly
84
- fig = px.pie(event_counts, names='Event', values='Order Value',
85
  title='Event Type Distribution By Order Value')
86
  st.plotly_chart(fig, use_container_width=True)
87
 
 
81
  # Event Types Distribution
82
  event_counts = data['events'].groupby('Event')['Order Value $'].sum().reset_index()
83
  event_counts.columns = ['Event', 'Order Value $'] # Rename columns explicitly
84
+ fig = px.pie(event_counts, names='Event', values='Order Value $',
85
  title='Event Type Distribution By Order Value')
86
  st.plotly_chart(fig, use_container_width=True)
87