Spaces:
Sleeping
Sleeping
trying againnn (#8)
Browse files- trying againnn (bbcc27cd91172cd0a337aff1345644d956c123ed)
app.py
CHANGED
|
@@ -97,20 +97,20 @@ bar_chart = (
|
|
| 97 |
.add_params(select_bar)
|
| 98 |
.properties(width=500, height=800)
|
| 99 |
)
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
box = (
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
)
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
dashboard = bar_chart | box
|
| 116 |
-
dashboard
|
|
|
|
| 97 |
.add_params(select_bar)
|
| 98 |
.properties(width=500, height=800)
|
| 99 |
)
|
| 100 |
+
bar_chart
|
| 101 |
+
|
| 102 |
+
# box = (
|
| 103 |
+
# alt.Chart(df_small)
|
| 104 |
+
# .mark_boxplot(size=40)
|
| 105 |
+
# .encode(
|
| 106 |
+
# x=alt.X("Agency:N", title=""),
|
| 107 |
+
# y=alt.Y("YTD Gross:Q", title="Salary Distribution"),
|
| 108 |
+
# color=alt.value("#4C78A8")
|
| 109 |
+
# )
|
| 110 |
+
# .transform_filter(select_bar) # <--- THIS CONNECTS THE GRAPHS
|
| 111 |
+
# .properties(width=120, height=800)
|
| 112 |
+
# )
|
| 113 |
+
|
| 114 |
+
|
| 115 |
+
# dashboard = bar_chart | box
|
| 116 |
+
# dashboard
|