Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,24 +97,24 @@ col1_full, col2_full = st.columns(2)
|
|
| 97 |
|
| 98 |
with col1_full:
|
| 99 |
fig_gender_full = px.histogram(df_full, x="Gender", title="Overall Gender Distribution")
|
| 100 |
-
fig_gender_full.update_layout(height=
|
| 101 |
st.plotly_chart(fig_gender_full)
|
| 102 |
|
| 103 |
fig_youth_full = px.histogram(df_full, x="Youth", title="Overall Youth Participation")
|
| 104 |
-
fig_youth_full.update_layout(height=
|
| 105 |
st.plotly_chart(fig_youth_full)
|
| 106 |
|
| 107 |
fig_company_full = px.histogram(df_full, x="Company Name", title="Overall Company Distribution")
|
| 108 |
-
fig_company_full.update_layout(height=
|
| 109 |
st.plotly_chart(fig_company_full)
|
| 110 |
|
| 111 |
with col2_full:
|
| 112 |
fig_category_full = px.histogram(df_full, y="Intervention_Category", title="Overall Intervention Category Distribution")
|
| 113 |
-
fig_category_full.update_layout(height=
|
| 114 |
st.plotly_chart(fig_category_full)
|
| 115 |
|
| 116 |
fig_intervention_full = px.histogram(df_full, y="Intervention", title="Overall Intervention Type Distribution")
|
| 117 |
-
fig_intervention_full.update_layout(height=
|
| 118 |
st.plotly_chart(fig_intervention_full)
|
| 119 |
|
| 120 |
fig_pie_category = px.pie(df_full, names='Intervention_Category', title='Overall Intervention Category Pie Chart')
|
|
|
|
| 97 |
|
| 98 |
with col1_full:
|
| 99 |
fig_gender_full = px.histogram(df_full, x="Gender", title="Overall Gender Distribution")
|
| 100 |
+
fig_gender_full.update_layout(height=200, width=300)
|
| 101 |
st.plotly_chart(fig_gender_full)
|
| 102 |
|
| 103 |
fig_youth_full = px.histogram(df_full, x="Youth", title="Overall Youth Participation")
|
| 104 |
+
fig_youth_full.update_layout(height=200, width=300)
|
| 105 |
st.plotly_chart(fig_youth_full)
|
| 106 |
|
| 107 |
fig_company_full = px.histogram(df_full, x="Company Name", title="Overall Company Distribution")
|
| 108 |
+
fig_company_full.update_layout(height=200, width=300)
|
| 109 |
st.plotly_chart(fig_company_full)
|
| 110 |
|
| 111 |
with col2_full:
|
| 112 |
fig_category_full = px.histogram(df_full, y="Intervention_Category", title="Overall Intervention Category Distribution")
|
| 113 |
+
fig_category_full.update_layout(height=200, width=300)
|
| 114 |
st.plotly_chart(fig_category_full)
|
| 115 |
|
| 116 |
fig_intervention_full = px.histogram(df_full, y="Intervention", title="Overall Intervention Type Distribution")
|
| 117 |
+
fig_intervention_full.update_layout(height=200, width=300)
|
| 118 |
st.plotly_chart(fig_intervention_full)
|
| 119 |
|
| 120 |
fig_pie_category = px.pie(df_full, names='Intervention_Category', title='Overall Intervention Category Pie Chart')
|