-
Notifications
You must be signed in to change notification settings - Fork 0
/
elk_stats.html
68 lines (55 loc) · 2.37 KB
/
elk_stats.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
<!DOCTYPE html>
<head>
<meta charset="utf-10">
<script src="https://cdn.jsdelivr.net/npm/vega@5"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@5"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
<title>MT Elk Hunting</title>
</head>
<center>
<h5>Hypothesis: Elk Hunting has increased in Montana due to out of state interest.</h5>
</center>
<body>
<div id="vis_time_series"></div>
<table>
<thead>
<tr>
<th colspan="2">Hunting by Montana Residency </th>
</tr>
</thead>
<tbody>
<tr>
<td><div id="vis_bar_2010"></div></td>
<td><div id="vis_bar_2020"></div></td>
</tr>
</tbody>
</table>
<div id="vis_bar">
<p style="font-size: 12px">
Time series and bar graph data from: <a href="https://myfwp.mt.gov/fwpPub/harvestReports">https://myfwp.mt.gov/fwpPub/harvestReports</a></p>
<p style="font-size:12px">
*To access the same data that was used in this study, select the following parameters from the Harvest Estimates Search Menu:<br>
Species: Elk <br>
Start Year: 2004 <br>
End Year: 2020 <br>
District: All <br>
<p style="font-size:12px"><i>
The number of elk hunting days indicate the total number of days that elk were collectivley hunted<br>
by all hunters in the state of Montana in a given year. This is further broken up by Montana residency status to determine<br>
if out-of-state hunters are contributing to increased elk hunting days in Montana. Residents are defined as those<br>
who legally call Montana home. Non-residents are those who legally reside in a different state..</font></p></i></font></p></i>
<script>
const spec_time_series = "hw1/elk_hunt_days_total_scatter.vl.json";
vegaEmbed("#vis_time_series", spec_time_series)
.then(result => console.log(result))
.catch(console.warn);
const spec_bar_2010 = "hw1/elk_hunt_days_by_residency_bar.vl.json";
vegaEmbed("#vis_bar_2010", spec_bar_2010)
.then(result => console.log(result))
.catch(console.warn);
const spec_bar_2020 = "hw1/elk_hunt_days_by_residency_normalized.vl.json";
vegaEmbed("#vis_bar_2020", spec_bar_2020)
.then(result => console.log(result))
.catch(console.warn);
</script>
</body>