Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,9 @@ st.title('Final Project')
|
|
| 15 |
|
| 16 |
st.text("The URL for this app is: https://huggingface.co/spaces/445final/final2.moved")
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
#st.text('Overall Future Edits: Figure out what to do with positions with 1 employee (if anything), Decide whether to use transportation or corrections data, Re-capitalize agency departments')
|
|
@@ -98,7 +100,7 @@ bar_chart = (
|
|
| 98 |
.mark_bar()
|
| 99 |
.encode(
|
| 100 |
y=alt.Y("Agency:N", sort="-x",title="Agency" ),
|
| 101 |
-
x=alt.X("mean(YTD Gross):Q", axis=alt.Axis(labelLimit=0, title="
|
| 102 |
tooltip=[
|
| 103 |
"Agency:N",
|
| 104 |
alt.Tooltip("mean(YTD Gross):Q", title="Avg YTD Gross", format="$,.00f")
|
|
|
|
| 15 |
|
| 16 |
st.text("The URL for this app is: https://huggingface.co/spaces/445final/final2.moved")
|
| 17 |
|
| 18 |
+
#url = "https://www.streamlit.io"
|
| 19 |
+
#st.write("check out this [link](%s)" % url)
|
| 20 |
+
#st.markdown("check out this [link](%s)" % url)
|
| 21 |
|
| 22 |
|
| 23 |
#st.text('Overall Future Edits: Figure out what to do with positions with 1 employee (if anything), Decide whether to use transportation or corrections data, Re-capitalize agency departments')
|
|
|
|
| 100 |
.mark_bar()
|
| 101 |
.encode(
|
| 102 |
y=alt.Y("Agency:N", sort="-x",title="Agency" ),
|
| 103 |
+
x=alt.X("mean(YTD Gross):Q", axis=alt.Axis(labelLimit=0, title="Average Year to Date Gross Pay by Agency")),
|
| 104 |
tooltip=[
|
| 105 |
"Agency:N",
|
| 106 |
alt.Tooltip("mean(YTD Gross):Q", title="Avg YTD Gross", format="$,.00f")
|