-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfire_in_2020.html
284 lines (278 loc) · 10 KB
/
fire_in_2020.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
.introduction {margin-left: 100px; margin-right: 100px;}
.foot {font-size:50%; font-family: Verdana, sans-serif; margin-bottom: 0px; margin-top: 0px}
.chart_target {width: 100%; }
.chart_foot {margin-left: 100px; width: 100%}
table, td, th {border-collapse: collapse; border: 1px solid blue}
td, th {padding: 10px}
th { background-color: #4488FF;}
.sum_table {border-collapse: collapse; border: 10px solid blue}
</style>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawCharts);
function drawCharts() {
var data = new google.visualization.DataTable();
data.addColumn("date", "Season Start Date")
data.addColumn("number", "Acres Burned")
var options = {
"title": "Federal Fire Data for Indiana for 2020",
"hAxis": {
"title": "Year"
},
"vAxis": {
"title": "Total Acres Burned"
}
}
data.addRows([
[new Date(2020, 0, 1), 0],
[new Date(2020, 0, 11), 0],
[new Date(2020, 4, 7), 0],
[new Date(2020, 5, 12), 0],
[new Date(2020, 5, 17), 0],
[new Date(2020, 5, 21), 0],
[new Date(2020, 5, 30), 0],
[new Date(2020, 6, 27), 0],
[new Date(2020, 7, 3), 0],
[new Date(2020, 7, 20), 0],
[new Date(2020, 7, 23), 0],
[new Date(2020, 7, 25), 0],
[new Date(2020, 7, 29), 0],
[new Date(2020, 8, 6), 0],
[new Date(2020, 8, 8), 0],
[new Date(2020, 8, 9), 0],
[new Date(2020, 8, 10), 0],
[new Date(2020, 8, 11), 0],
[new Date(2020, 8, 12), 0],
[new Date(2020, 8, 13), 0],
[new Date(2020, 8, 14), 0],
[new Date(2020, 8, 15), 0],
[new Date(2020, 8, 16), 0],
[new Date(2020, 8, 17), 0],
[new Date(2020, 8, 19), 0],
[new Date(2020, 8, 20), 0],
[new Date(2020, 8, 22), 0],
[new Date(2020, 8, 25), 0],
[new Date(2020, 8, 26), 0],
[new Date(2020, 8, 27), 0],
[new Date(2020, 8, 28), 0],
[new Date(2020, 8, 29), 0],
[new Date(2020, 8, 30), 0],
[new Date(2020, 9, 1), 0],
[new Date(2020, 9, 2), 0],
[new Date(2020, 9, 3), 0],
[new Date(2020, 9, 4), 0],
[new Date(2020, 9, 5), 0],
[new Date(2020, 9, 6), 0],
[new Date(2020, 9, 7), 0],
[new Date(2020, 9, 8), 0],
[new Date(2020, 9, 9), 0],
[new Date(2020, 9, 10), 0],
[new Date(2020, 9, 11), 0],
[new Date(2020, 9, 12), 0],
[new Date(2020, 9, 13), 0],
[new Date(2020, 9, 14), 0],
[new Date(2020, 9, 15), 0],
[new Date(2020, 9, 16), 0],
[new Date(2020, 9, 17), 0],
[new Date(2020, 9, 18), 0],
[new Date(2020, 9, 19), 0],
[new Date(2020, 9, 20), 0],
[new Date(2020, 9, 21), 0],
[new Date(2020, 9, 22), 0],
[new Date(2020, 9, 23), 0],
[new Date(2020, 9, 25), 0],
[new Date(2020, 9, 26), 0],
[new Date(2020, 9, 27), 0],
[new Date(2020, 9, 28), 0],
[new Date(2020, 9, 30), 0],
[new Date(2020, 9, 31), 0],
[new Date(2020, 10, 1), 0],
[new Date(2020, 10, 3), 0],
[new Date(2020, 10, 8), 0],
[new Date(2020, 10, 11), 0],
[new Date(2020, 10, 14), 0],
[new Date(2020, 10, 15), 0],
[new Date(2020, 10, 17), 0],
[new Date(2020, 10, 19), 0],
[new Date(2020, 10, 21), 0],
[new Date(2020, 10, 28), 0],
[new Date(2020, 11, 6), 0],
[new Date(2020, 11, 9), 0],
[new Date(2020, 11, 11), 0],
[new Date(2020, 11, 18), 0],
[new Date(2020, 11, 25), 0],
]);
var chart = new google.visualization.ColumnChart(document.getElementById("us_chart"))
chart.draw(data, options);
var data = new google.visualization.DataTable();
data.addColumn("date", "Season Start Date")
data.addColumn("number", "Acres Burned")
var options = {
"title": "Federal Fire Data for the Whole US",
"hAxis": {
"title": "Year"
},
"vAxis": {
"title": "Total Acres Burned"
}
}
data.addRows([
[new Date(2020, 0, 1), 0],
[new Date(2020, 0, 11), 250],
[new Date(2020, 4, 7), 30349],
[new Date(2020, 5, 12), 153432],
[new Date(2020, 5, 17), 337283],
[new Date(2020, 5, 21), 484066],
[new Date(2020, 5, 30), 657192],
[new Date(2020, 6, 27), 945901],
[new Date(2020, 7, 3), 1077660],
[new Date(2020, 7, 20), 1620076],
[new Date(2020, 7, 23), 2236367],
[new Date(2020, 7, 25), 2420080],
[new Date(2020, 7, 29), 2657390],
[new Date(2020, 8, 6), 3261067],
[new Date(2020, 8, 8), 3810720],
[new Date(2020, 8, 9), 3810819],
[new Date(2020, 8, 10), 4568169],
[new Date(2020, 8, 11), 5536417],
[new Date(2020, 8, 12), 5995540],
[new Date(2020, 8, 13), 6024997],
[new Date(2020, 8, 14), 6393687],
[new Date(2020, 8, 15), 6377700],
[new Date(2020, 8, 16), 6542340],
[new Date(2020, 8, 17), 6665497],
[new Date(2020, 8, 19), 6761076],
[new Date(2020, 8, 20), 6788097],
[new Date(2020, 8, 22), 7019894],
[new Date(2020, 8, 25), 7078478],
[new Date(2020, 8, 26), 7088921],
[new Date(2020, 8, 27), 7110130],
[new Date(2020, 8, 28), 7125562],
[new Date(2020, 8, 29), 7192857],
[new Date(2020, 8, 30), 7320012],
[new Date(2020, 9, 1), 7344392],
[new Date(2020, 9, 2), 7358258],
[new Date(2020, 9, 3), 7390069],
[new Date(2020, 9, 4), 7391766],
[new Date(2020, 9, 5), 7430695],
[new Date(2020, 9, 6), 7442137],
[new Date(2020, 9, 7), 7544376],
[new Date(2020, 9, 8), 7566604],
[new Date(2020, 9, 9), 7576810],
[new Date(2020, 9, 10), 7633936],
[new Date(2020, 9, 11), 7654834],
[new Date(2020, 9, 12), 7667807],
[new Date(2020, 9, 13), 7686393],
[new Date(2020, 9, 14), 7687287],
[new Date(2020, 9, 15), 7692545],
[new Date(2020, 9, 16), 7695561],
[new Date(2020, 9, 17), 7700604],
[new Date(2020, 9, 18), 7702692],
[new Date(2020, 9, 19), 7705314],
[new Date(2020, 9, 20), 7827343],
[new Date(2020, 9, 21), 7827735],
[new Date(2020, 9, 22), 7833845],
[new Date(2020, 9, 23), 7834004],
[new Date(2020, 9, 25), 7843114],
[new Date(2020, 9, 26), 7847005],
[new Date(2020, 9, 27), 7852781],
[new Date(2020, 9, 28), 7857081],
[new Date(2020, 9, 30), 8057082],
[new Date(2020, 9, 31), 8057859],
[new Date(2020, 10, 1), 8063034],
[new Date(2020, 10, 3), 8061740],
[new Date(2020, 10, 8), 8065803],
[new Date(2020, 10, 11), 8066072],
[new Date(2020, 10, 14), 8069375],
[new Date(2020, 10, 15), 8069468],
[new Date(2020, 10, 17), 8069468],
[new Date(2020, 10, 19), 8100347],
[new Date(2020, 10, 21), 8093147],
[new Date(2020, 10, 28), 8092829],
[new Date(2020, 11, 6), 8100340],
[new Date(2020, 11, 9), 8099598],
[new Date(2020, 11, 11), 8099598],
[new Date(2020, 11, 18), 8099598],
[new Date(2020, 11, 25), 8100512],
]);
var chart = new google.visualization.ColumnChart(document.getElementById("us_chart_2"))
chart.draw(data, options);
}
</script>
</head>
<body>
<span style="float:right; margin-right:100;">
<select onchange="window.location=this.options[this.selectedIndex].value" name="states" id="states"><option value="fire_ak_2020.html">Alaska</option>
<option value="fire_al_2020.html">Alabama</option>
<option value="fire_ar_2020.html">Arkansas</option>
<option value="fire_az_2020.html">Arizona</option>
<option value="fire_ca_2020.html">California</option>
<option value="fire_co_2020.html">Colorado</option>
<option value="fire_ct_2020.html">Connecticut</option>
<option value="fire_de_2020.html">Delaware</option>
<option value="fire_fl_2020.html">Florida</option>
<option value="fire_ga_2020.html">Georgia</option>
<option value="fire_hi_2020.html">Hawaii</option>
<option value="fire_ia_2020.html">Iowa</option>
<option value="fire_id_2020.html">Idaho</option>
<option value="fire_il_2020.html">Illinois</option>
<option selected="selected" value="fire_in_2020.html">Indiana</option>
<option value="fire_ks_2020.html">Kansas</option>
<option value="fire_ky_2020.html">Kentucky</option>
<option value="fire_la_2020.html">Louisiana</option>
<option value="fire_ma_2020.html">Massachusetts</option>
<option value="fire_md_2020.html">Maryland</option>
<option value="fire_me_2020.html">Maine</option>
<option value="fire_mi_2020.html">Michigan</option>
<option value="fire_mn_2020.html">Minnesota</option>
<option value="fire_mo_2020.html">Missouri</option>
<option value="fire_ms_2020.html">Mississippi</option>
<option value="fire_mt_2020.html">Montana</option>
<option value="fire_nc_2020.html">North Carolina</option>
<option value="fire_nd_2020.html">North Dakota</option>
<option value="fire_ne_2020.html">Nebraska</option>
<option value="fire_nh_2020.html">New Hampshire</option>
<option value="fire_nj_2020.html">New Jersey</option>
<option value="fire_nm_2020.html">New Mexico</option>
<option value="fire_nv_2020.html">Nevada</option>
<option value="fire_ny_2020.html">New York</option>
<option value="fire_oh_2020.html">Ohio</option>
<option value="fire_ok_2020.html">Oklahoma</option>
<option value="fire_or_2020.html">Oregon</option>
<option value="fire_pa_2020.html">Pennsylvania</option>
<option value="fire_ri_2020.html">Rhode Island</option>
<option value="fire_sc_2020.html">South Carolina</option>
<option value="fire_sd_2020.html">South Dakota</option>
<option value="fire_tn_2020.html">Tennessee</option>
<option value="fire_tx_2020.html">Texas</option>
<option value="fire_ut_2020.html">Utah</option>
<option value="fire_va_2020.html">Virginia</option>
<option value="fire_vt_2020.html">Vermont</option>
<option value="fire_wa_2020.html">Washington</option>
<option value="fire_wi_2020.html">Wisconsin</option>
<option value="fire_wv_2020.html">West Virginia</option>
<option value="fire_wy_2020.html">Wyoming</option>
</select>
<select onchange="window.location=this.options[this.selectedIndex].value;" name="year" id="year">
<option value="fire_in_2021.html">2021</option>
<option selected="selected" value="fire_in_2020.html">2020</option>
<option value="fire_in_2019.html">2019</option>
</select></span>
<h1>Indiana Fire Data</h1>
<p class="introduction">This site attempts to visualize Indiana fire data.</p>
<p class="introduction">Fires in Indiana may be fought by Federal agencies, State agencies,
or local agencies, and the reporting is different for all, so data may be incomplete or inaccurate.</p>
<div class="chart_target" id="us_chart"></div>
<div class="chart_target" id="us_chart_2"></div>
<hr>
<p class="foot">Source code: <a href="https://github.com/cocode/firedata">https://github.com/cocode/firedata</a></p>
<p class="foot">Data source: <a href="https://www.fire.ca.gov/incidents">https://www.fire.ca.gov/incidents</a></p>
<p class="foot">Accuracy not guaranteed</p>
</body>
</html>