Tinsae commited on
Commit
ae5b935
1 Parent(s): 0d8c862
Files changed (1) hide show
  1. pages/dashboard.py +9 -5
pages/dashboard.py CHANGED
@@ -94,18 +94,22 @@ def main():
94
 
95
 
96
  product = display_product()
97
- col1, col2 = st.columns([2,1])
98
 
99
  #display map
 
 
 
 
 
 
 
100
  with col2:
101
  #display metric
102
- year = display_time_filters(df)
103
  region = display_state_filter(df, region)
104
  metric_title = f"{product} Harvested Production in Quintals {region} - Italy: {year}"
105
  display_yield(df, year, region, metric_title)
106
-
107
- with col1:
108
- region = display_map(df, year)
109
 
110
 
111
  #st.header('{Header!!!!}')
 
94
 
95
 
96
  product = display_product()
97
+ col1, col2 = st.columns(2)
98
 
99
  #display map
100
+ with col1:
101
+
102
+ year = display_time_filters(df)
103
+
104
+ #st.header('{Header!!!!}')
105
+ region = display_map(df, year)
106
+
107
  with col2:
108
  #display metric
 
109
  region = display_state_filter(df, region)
110
  metric_title = f"{product} Harvested Production in Quintals {region} - Italy: {year}"
111
  display_yield(df, year, region, metric_title)
112
+
 
 
113
 
114
 
115
  #st.header('{Header!!!!}')