Update app.py
Browse files
app.py
CHANGED
|
@@ -219,6 +219,11 @@ elif page == "Visualization 3":
|
|
| 219 |
t_type = st.selectbox("Select Transportation Type", ['Bicycle', 'Walking'])
|
| 220 |
data = st.selectbox("Select Data to Visualize", ['pop_per_unit', 'ratio', 'count'])
|
| 221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 222 |
if data == 'pop_per_unit':
|
| 223 |
value_pop = st.slider("Max Pop per Unit", min_value=0.0, max_value=1000.0, step=1.0, value=500.0)
|
| 224 |
elif data == 'ratio':
|
|
|
|
| 219 |
t_type = st.selectbox("Select Transportation Type", ['Bicycle', 'Walking'])
|
| 220 |
data = st.selectbox("Select Data to Visualize", ['pop_per_unit', 'ratio', 'count'])
|
| 221 |
|
| 222 |
+
st.markdown("""
|
| 223 |
+
*pop_per_unit refers to the population amount per person that uses a bycicle or walks. It is calculated by dividing the population for that county by the # of bike users/walkers.
|
| 224 |
+
*ratio refers to the ratio of bike/walkers to the population. It represents the reciprocal of pop_per_unit.
|
| 225 |
+
""")
|
| 226 |
+
|
| 227 |
if data == 'pop_per_unit':
|
| 228 |
value_pop = st.slider("Max Pop per Unit", min_value=0.0, max_value=1000.0, step=1.0, value=500.0)
|
| 229 |
elif data == 'ratio':
|