awacke1 commited on
Commit
efedb47
Β·
1 Parent(s): 81bbb41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -76,17 +76,6 @@ def load_and_display_player_data():
76
  player_data = pd.read_csv("player_data.csv")
77
  st.write("## Player Data")
78
  st.write(player_data)
79
-
80
- fig = px.treemap(player_data,
81
- path=['Player'],
82
- values='Health Tokens',
83
- color='Attack',
84
- color_continuous_scale='Blues',
85
- title='Player Attack Power and Health Tokens')
86
- fig.update_traces(textinfo='label+value+percent entry',
87
- hovertemplate='<b>%{label}</b><br>Attack: %{color}<br>Health: %{value}<br>Percent: %{percentEntry:.2f}%<extra></extra>')
88
- fig.update_layout(margin=dict(t=50, b=0, l=0, r=0), height=400)
89
- st.plotly_chart(fig)
90
  else:
91
  st.write("Player data file not found.")
92
 
 
76
  player_data = pd.read_csv("player_data.csv")
77
  st.write("## Player Data")
78
  st.write(player_data)
 
 
 
 
 
 
 
 
 
 
 
79
  else:
80
  st.write("Player data file not found.")
81