Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -118,20 +118,20 @@ bar_chart = (
118
  )
119
 
120
 
121
- bar_chart = (
122
- alt.Chart(df_small)
123
- .mark_bar()
124
- .encode(
125
- y=alt.Y("Agency:N", sort="-x"),
126
- x=alt.X("sum(YTD Gross):Q", title="Total Personale Expense"), # <-- take the mean
127
- tooltip=[
128
- "Agency:N",
129
- alt.Tooltip("mean(YTD Gross):Q", title="Avg YTD Gross", format="$,.0f")
130
- ],
131
- color=alt.condition(select_bar, alt.value("#4C78A8"), alt.value("#CCCCCC"))
132
- )
133
- .add_params(select_bar)
134
- .properties(width=500, height=800)
135
  )
136
 
137
  # box = (
 
118
  )
119
 
120
 
121
+ # bar_chart = (
122
+ # alt.Chart(df_small)
123
+ # .mark_bar()
124
+ # .encode(
125
+ # y=alt.Y("Agency:N", sort="-x"),
126
+ # x=alt.X("mean(YTD Gross):Q", title="Total Personale Expense"), # <-- take the mean
127
+ # tooltip=[
128
+ # "Agency:N",
129
+ # alt.Tooltip("mean(YTD Gross):Q", title="Avg YTD Gross", format="$,.0f")
130
+ # ],
131
+ # color=alt.condition(select_bar, alt.value("#4C78A8"), alt.value("#CCCCCC"))
132
+ # )
133
+ # .add_params(select_bar)
134
+ # .properties(width=500, height=800)
135
  )
136
 
137
  # box = (