Yunus Serhat Bıçakçı commited on
Commit
b368c48
·
1 Parent(s): d0ab88d
Files changed (1) hide show
  1. pages/2_↔️_Comparision.py +13 -1
pages/2_↔️_Comparision.py CHANGED
@@ -29,7 +29,7 @@ st.markdown(
29
  )
30
 
31
 
32
- row1_col1, row1_col2 = st.columns([1, 1])
33
 
34
  with row1_col1:
35
 
@@ -46,7 +46,19 @@ with row1_col1:
46
 
47
 
48
  with row1_col2:
 
49
 
 
 
 
 
 
 
 
 
 
 
 
50
  mps = "https://raw.githubusercontent.com/yunusserhat/data/main/data/mps2022dec_count.geojson"
51
 
52
  m2 = leafmap.Map(center=[51.50, -0.1], zoom=10)
 
29
  )
30
 
31
 
32
+ row1_col1, row1_col2, row1_col3 = st.columns([1, 1])
33
 
34
  with row1_col1:
35
 
 
46
 
47
 
48
  with row1_col2:
49
+ mps = "https://raw.githubusercontent.com/yunusserhat/data/main/data/mps_hate_2022_dec_count.geojson"
50
 
51
+ m2 = leafmap.Map(center=[51.50, -0.1], zoom=10)
52
+ m2.add_data(
53
+ mps,
54
+ column="Hate_Crime_Number",
55
+ scheme='Quantiles',
56
+ cmap='YlOrRd',
57
+ legend_title='Hate Crime Number'
58
+ )
59
+
60
+
61
+ with row1_col3:
62
  mps = "https://raw.githubusercontent.com/yunusserhat/data/main/data/mps2022dec_count.geojson"
63
 
64
  m2 = leafmap.Map(center=[51.50, -0.1], zoom=10)