Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,11 @@ st.write("This is the link to our supplimental dataset [link](%s)" % url)
|
|
| 24 |
#st.text('Chart A Future Edits: Order bars by mean YTD Gross, Make all position titles readable, add title')
|
| 25 |
|
| 26 |
|
| 27 |
-
st.markdown("Below is a dashboard exploring all current state employees and their salaries. The dataset includes information like the agency, division, position title, and pay for all the current state employees. The first bar chart represents the average salary by department and is ranked with the agency with the highest average salary at the top and then the agency with the lowest average salary at the bottom.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
#im just going to relaod the data frame in to clean up the text on the bottomo charts
|
| 30 |
df_j = pd.read_csv('State_Employee_Pay.csv')
|
|
|
|
| 24 |
#st.text('Chart A Future Edits: Order bars by mean YTD Gross, Make all position titles readable, add title')
|
| 25 |
|
| 26 |
|
| 27 |
+
st.markdown("Below is a dashboard exploring all current state employees and their salaries. The dataset includes information like the agency, division, position title, and pay for all the current state employees. The first bar chart represents the average salary by department and is ranked with the agency with the highest average salary at the top and then the agency with the lowest average salary at the bottom.")
|
| 28 |
+
st.markdown('This bar chart is interactive. When you hover an agency that interests you, you get a tooltip with the full name of the agency and the exact dollar amount of the average salary from that agency.')
|
| 29 |
+
st.markdown("The second graph at the bottom of the screen is a scatter plot showing individual positions and the corresponding salaries. You can select an agency to investigate further by selecting the corresponding bar of the agency you would like to investigate. This will filter the scatter plot to just show information relating the agency that you have selected. The scatter plot shows the spread of salaries in that agency. With the tooltip on this scatterplot, you can see the individuals job title and the salary amount associated.")
|
| 30 |
+
st.markdown("These graphs allow you to understand where state funding is going and the distribution of where money is going within different agencies throughout the state. The spending of the sate helps individuals understand what priorities the state government has and where their tax dollars are being spent.")
|
| 31 |
+
st.markdown("Below is a link to more data that could help add context to this information. This dataset offers more information about state salaries from the year 2011-current. This dataset was too large for us originally but we think analyzing the changes of state investments over time will be interesting.")
|
| 32 |
|
| 33 |
#im just going to relaod the data frame in to clean up the text on the bottomo charts
|
| 34 |
df_j = pd.read_csv('State_Employee_Pay.csv')
|