-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathusa_sentiment_map.html
More file actions
76 lines (58 loc) · 13.4 KB
/
usa_sentiment_map.html
File metadata and controls
76 lines (58 loc) · 13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_54b359985e5494e79dd2661b4bca4d19 {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>
<script src="https://cdn.jsdelivr.net/gh/python-visualization/folium@main/folium/templates/leaflet_heat.min.js"></script>
</head>
<body>
<div class="folium-map" id="map_54b359985e5494e79dd2661b4bca4d19" ></div>
</body>
<script>
var map_54b359985e5494e79dd2661b4bca4d19 = L.map(
"map_54b359985e5494e79dd2661b4bca4d19",
{
center: [0.0, 0.0],
crs: L.CRS.EPSG3857,
zoom: 12,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_8451b78f1f676e93ccebbf3abef61be6 = L.tileLayer(
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
{"attribution": "Data by \u0026copy; \u003ca target=\"_blank\" href=\"http://openstreetmap.org\"\u003eOpenStreetMap\u003c/a\u003e, under \u003ca target=\"_blank\" href=\"http://www.openstreetmap.org/copyright\"\u003eODbL\u003c/a\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}
).addTo(map_54b359985e5494e79dd2661b4bca4d19);
var heat_map_0c849240a9c7502e2f0d5ed5c59e5830 = L.heatLayer(
[[41.000028, 19.9999619, 0.10606060606060606], [35.0841034, -106.650985, 0.049999999999999996], [38.8051095, -77.0470229, 0.125], [39.2908816, -76.610759, -0.051851851851851864], [37.8708393, -122.272863, 0.0], [42.3554334, -71.060511, -0.15454545454545454], [42.3554334, -71.060511, 0.0], [42.3554334, -71.060511, 0.05], [42.3554334, -71.060511, 0.1], [42.3554334, -71.060511, 0.125], [42.3554334, -71.060511, 0.15], [45.6794293, -111.044047, -0.5], [45.6794293, -111.044047, -0.16666666666666666], [45.6794293, -111.044047, -0.15], [45.6794293, -111.044047, 0.013888888888888886], [45.6794293, -111.044047, 0.02787878787878788], [45.6794293, -111.044047, 0.1125], [45.6794293, -111.044047, 0.13766233766233765], [34.974532, -92.0165336, 0.0], [37.4020115, -6.0331571, 0.0], [38.029306, -78.4766781, 0.04545454545454545], [38.029306, -78.4766781, 0.2], [41.8755616, -87.6244212, 0.0], [41.8755616, -87.6244212, 0.0], [51.897077, -8.4654674, 0.2866666666666666], [39.7392364, -104.984862, 0.06111111111111111], [39.7392364, -104.984862, 0.28], [-38.1532287, 178.1367523749267, 0.0], [6.8137426, -58.1624465, 0.025000000000000005], [43.6447642, -114.015407, -0.175], [40.3270127, -86.1746933, 0.05], [39.100105, -94.5781416, 0.0], [39.100105, -94.5781416, 0.25], [37.5726028, -85.1551411, -0.1], [33.7690164, -118.191604, 0.25], [34.0536909, -118.242766, 0.0], [38.2542376, -85.759407, 0.0], [40.7896239, -73.9598939, 0.1], [41.5058344, -90.5136642, 0.0], [40.0757384, -74.4041622, -0.08333333333333333], [40.0757384, -74.4041622, 0.125], [34.5708167, -105.993007, 0.24545454545454545], [40.7127281, -74.0060152, 0.0], [40.7127281, -74.0060152, -0.39999999999999997], [40.7127281, -74.0060152, 0.060937500000000006], [40.7127281, -74.0060152, -0.0625], [40.7127281, -74.0060152, -0.0625], [40.7127281, -74.0060152, 0.125], [43.1561681, -75.8449946, 0.125], [37.8044557, -122.271356, 0.04727272727272727], [40.2253569, -82.6881395, -0.041666666666666664], [18.2247706, -66.4858295, 0.15595238095238095], [34.9248667, -81.0250784, 0.1361111111111111], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.06818181818181818], [36.2404158, -80.2933838, -0.15454545454545454], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [36.2404158, -80.2933838, 0.0], [40.7596198, -111.886797, 0.03409090909090909], [40.7596198, -111.886797, 0.1], [37.7790262, -122.419906, -0.3], [37.7790262, -122.419906, 0.10714285714285714], [37.3361663, -121.890591, -0.12187500000000001], [37.3361663, -121.890591, -0.12187500000000001], [47.6038321, -122.330062, 0.05], [47.6038321, -122.330062, 0.17784090909090908], [27.9477595, -82.458444, -0.020555555555555546], [51.0147895, -3.1029086, 0.25], [31.2638905, -98.5456116, -0.05436507936507937], [36.1563122, -95.9927516, -0.3333333333333333], [39.7837304, -100.445882, -0.4], [39.7837304, -100.445882, 0.0], [39.7837304, -100.445882, 0.0375], [39.7837304, -100.445882, 0.11666666666666665], [39.7837304, -100.445882, 0.15], [39.7837304, -100.445882, 0.0], [39.7837304, -100.445882, 0.0909090909090909], [39.7837304, -100.445882, -0.06666666666666667], [49.2608724, -123.113952, 0.23750000000000002], [44.5990718, -72.5002608, 0.19999999999999998], [38.8950368, -77.0365427, -0.06666666666666667], [38.8950368, -77.0365427, -0.06666666666666667], [38.8950368, -77.0365427, 0.146875], [38.8950368, -77.0365427, 0.175], [38.8950368, -77.0365427, -0.05333333333333332], [38.8950368, -77.0365427, 0.0], [38.8950368, -77.0365427, 0.08], [38.8950368, -77.0365427, 0.1747159090909091], [34.1684364, -118.6058382, -0.16666666666666666], [31.2638905, -98.5456116, -0.5], [43.6447642, -114.015407, -0.47333333333333333], [35.6729639, -79.0392919, -0.4], [34.9550817, -97.2684063, -0.3], [30.8703881, -92.007126, -0.2879629629629629], [41.7370229, -99.5873816, -0.253125], [32.9715285, -89.7348497, -0.23750000000000002], [37.5726028, -85.1551411, -0.2222222222222222], [37.5726028, -85.1551411, -0.21000000000000002], [39.4225192, -111.714358, -0.19999999999999998], [64.4459613, -149.680909, -0.20000000000000004], [33.6874388, -80.4363743, -0.18787878787878784], [31.2638905, -98.5456116, -0.1708333333333333], [38.27312, -98.5821872, -0.16666666666666666], [39.4225192, -111.714358, -0.16111111111111112], [37.5726028, -85.1551411, -0.13214285714285715], [33.6874388, -80.4363743, -0.125], [34.9550817, -97.2684063, -0.125], [32.9715285, -89.7348497, -0.125], [37.5726028, -85.1551411, -0.125], [30.8703881, -92.007126, -0.125], [33.6874388, -80.4363743, -0.12103174603174605], [64.4459613, -149.680909, -0.1199265381083563], [64.4459613, -149.680909, -0.1], [43.6447642, -114.015407, -0.1], [34.9550817, -97.2684063, -0.09351851851851851], [38.4758406, -80.8408415, -0.09166666666666667], [38.7604815, -92.5617875, -0.08787878787878789], [31.2638905, -98.5456116, -0.08333333333333333], [33.2588817, -86.8295337, -0.07777777777777779], [43.6447642, -114.015407, -0.075], [39.4225192, -111.714358, -0.06590909090909092], [35.2048883, -92.4479108, -0.06333333333333332], [32.9715285, -89.7348497, -0.0625], [40.2253569, -82.6881395, -0.05833333333333333], [47.6201461, -100.540737, -0.05583333333333333], [43.1700264, -107.568534, -0.05555555555555555], [47.6201461, -100.540737, -0.05555555555555555], [38.27312, -98.5821872, -0.049999999999999996], [37.5726028, -85.1551411, -0.04583333333333334], [35.7730076, -86.2820081, -0.044444444444444446], [39.5162401, -76.9382069, -0.041666666666666664], [37.1232245, -78.4927721, -0.041666666666666664], [43.6211955, -84.6824346, -0.041666666666666664], [40.0796606, -89.4337288, -0.04], [34.395342, -111.763275, -0.03958333333333333], [39.5158825, -116.8537227, -0.03939393939393939], [43.4849133, -71.6553992, -0.03333333333333333], [45.709097, -68.8590201, -0.03125], [38.8950368, -77.0365427, -0.03], [43.4849133, -71.6553992, -0.025], [34.5708167, -105.993007, -0.025], [39.5158825, -116.8537227, -0.016666666666666666], [42.3788774, -72.032366, -0.011111111111111118], [36.7014631, -118.755997, -0.006249999999999999], [35.7730076, -86.2820081, 0.0], [44.6471761, -100.348761, 0.0], [31.2638905, -98.5456116, 0.0], [33.2588817, -86.8295337, 0.0], [38.27312, -98.5821872, 0.0], [41.9216734, -93.3122705, 0.0], [38.4758406, -80.8408415, 0.0], [64.4459613, -149.680909, 0.0], [33.2588817, -86.8295337, 0.0], [40.0757384, -74.4041622, 0.0], [36.7014631, -118.755997, 0.0], [44.4308975, -89.6884637, 0.0], [34.395342, -111.763275, 0.0], [34.395342, -111.763275, 0.0], [38.7251776, -105.607716, 0.0], [40.7127281, -74.0060152, 0.0], [43.6211955, -84.6824346, 0.0], [44.4308975, -89.6884637, 0.0], [38.6920451, -75.4013315, 0.0], [46.790887, -100.7679249, 0.0], [40.3270127, -86.1746933, 0.008333333333333333], [40.0757384, -74.4041622, 0.012499999999999994], [38.7604815, -92.5617875, 0.014814814814814808], [38.6920451, -75.4013315, 0.016666666666666666], [45.9896587, -94.6113288, 0.017857142857142856], [47.3752671, -109.638757, 0.020000000000000007], [19.593801499999998, -155.42837009716908, 0.025000000000000022], [37.1232245, -78.4927721, 0.02500000000000001], [42.3788774, -72.032366, 0.025], [43.9792797, -120.737257, 0.025000000000000022], [43.6447642, -114.015407, 0.028571428571428574], [27.7567667, -81.4639835, 0.03125], [43.6211955, -84.6824346, 0.03125], [40.7127281, -74.0060152, 0.03333333333333333], [44.4308975, -89.6884637, 0.03333333333333333], [44.5990718, -72.5002608, 0.03333333333333333], [38.8950368, -77.0365427, 0.03333333333333333], [44.5990718, -72.5002608, 0.03749999999999999], [19.593801499999998, -155.42837009716908, 0.0375], [64.4459613, -149.680909, 0.040625], [27.7567667, -81.4639835, 0.041666666666666664], [44.5990718, -72.5002608, 0.041666666666666664], [39.5162401, -76.9382069, 0.04545454545454545], [45.709097, -68.8590201, 0.04545454545454545], [31.2638905, -98.5456116, 0.04545454545454545], [19.593801499999998, -155.42837009716908, 0.04545454545454545], [45.709097, -68.8590201, 0.05], [45.9896587, -94.6113288, 0.05], [39.4225192, -111.714358, 0.05], [43.6211955, -84.6824346, 0.05], [37.1232245, -78.4927721, 0.05], [34.5708167, -105.993007, 0.05], [38.27312, -98.5821872, 0.05], [36.7014631, -118.755997, 0.05], [37.1232245, -78.4927721, 0.052380952380952375], [36.7014631, -118.755997, 0.05325757575757577], [38.8950368, -77.0365427, 0.05555555555555555], [32.3293809, -83.1137366, 0.06], [35.6729639, -79.0392919, 0.0625], [34.5708167, -105.993007, 0.06428571428571428], [40.7127281, -74.0060152, 0.06666666666666667], [32.9715285, -89.7348497, 0.06666666666666665], [40.0757384, -74.4041622, 0.06666666666666667], [38.8950368, -77.0365427, 0.06818181818181818], [34.9550817, -97.2684063, 0.071875], [43.9792797, -120.737257, 0.07500000000000001], [38.6920451, -75.4013315, 0.075], [40.0757384, -74.4041622, 0.07575757575757576], [43.1700264, -107.568534, 0.0761904761904762], [34.395342, -111.763275, 0.08], [43.9792797, -120.737257, 0.08333333333333333], [40.0796606, -89.4337288, 0.08333333333333333], [44.4308975, -89.6884637, 0.08333333333333334], [41.7370229, -99.5873816, 0.1], [44.6471761, -100.348761, 0.1], [47.6201461, -100.540737, 0.16285714285714287], [43.9792797, -120.737257, 0.26], [41.7962409, -71.5992372, 0.2619047619047619], [42.3788774, -72.032366, 0.26666666666666666], [41.7962409, -71.5992372, 0.26666666666666666], [34.5708167, -105.993007, 0.2671428571428571], [37.1232245, -78.4927721, 0.27499999999999997], [40.0757384, -74.4041622, 0.2761904761904762], [39.5162401, -76.9382069, 0.28125], [44.5990718, -72.5002608, 0.2866666666666666], [40.7127281, -74.0060152, 0.3], [40.0757384, -74.4041622, 0.3215909090909091], [38.8950368, -77.0365427, 0.35], [32.3293809, -83.1137366, 0.3633333333333333], [27.7567667, -81.4639835, 0.375], [19.593801499999998, -155.42837009716908, 0.38749999999999996], [40.7127281, -74.0060152, 0.4], [34.5708167, -105.993007, 0.4], [45.9896587, -94.6113288, 0.425], [34.395342, -111.763275, 0.4348484848484848], [46.790887, -100.7679249, 0.5], [43.4849133, -71.6553992, 0.6]],
{"blur": 15, "maxZoom": 18, "minOpacity": 0.5, "radius": 25}
).addTo(map_54b359985e5494e79dd2661b4bca4d19);
</script>
</html>