Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,7 +148,7 @@ bar_chart = (
|
|
| 148 |
.mark_bar()
|
| 149 |
.encode(
|
| 150 |
y=alt.Y("Agency:N", sort="-x", ),
|
| 151 |
-
x=alt.X("mean(YTD Gross):Q", title="Total Personale Expense"),
|
| 152 |
tooltip=[
|
| 153 |
"Agency:N",
|
| 154 |
alt.Tooltip("mean(YTD Gross):Q", title="Avg YTD Gross", format="$,.00f")
|
|
@@ -188,7 +188,7 @@ strip = (
|
|
| 188 |
alt.Chart(df_jcopy)
|
| 189 |
.mark_circle(size=60, opacity=0.6)
|
| 190 |
.encode(
|
| 191 |
-
x=alt.X("YTD Gross:Q"
|
| 192 |
y=alt.Y("Agency:N", title=""),
|
| 193 |
color=alt.Color("Agency:N",title='Agency'),
|
| 194 |
tooltip=[
|
|
|
|
| 148 |
.mark_bar()
|
| 149 |
.encode(
|
| 150 |
y=alt.Y("Agency:N", sort="-x", ),
|
| 151 |
+
x=alt.X("mean(YTD Gross):Q", axis=alt.Axis(labelLimit=0, title="Total Personale Expense")),
|
| 152 |
tooltip=[
|
| 153 |
"Agency:N",
|
| 154 |
alt.Tooltip("mean(YTD Gross):Q", title="Avg YTD Gross", format="$,.00f")
|
|
|
|
| 188 |
alt.Chart(df_jcopy)
|
| 189 |
.mark_circle(size=60, opacity=0.6)
|
| 190 |
.encode(
|
| 191 |
+
x=alt.X("YTD Gross:Q"),
|
| 192 |
y=alt.Y("Agency:N", title=""),
|
| 193 |
color=alt.Color("Agency:N",title='Agency'),
|
| 194 |
tooltip=[
|