~cyborg/lincoln-incidents

ref: 3db680241478441590953ae445e24cc9f91a0238 lincoln-incidents/index.html -rw-r--r-- 5.9 KiB
3db68024cyborg update git links 7 months ago
                                                                                
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
<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="Explore a timeline of Lincoln, Nebraska's police incidents from 1990 through 2020. Quickly view the numbers and rates of incidents in an easy-to-use graph.">
  <link rel="apple-touch-icon" sizes="57x57" href="./assets/favicon/apple-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="60x60" href="./assets/favicon/apple-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="72x72" href="./assets/favicon/apple-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="76x76" href="./assets/favicon/apple-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="114x114" href="./assets/favicon/apple-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="120x120" href="./assets/favicon/apple-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="144x144" href="./assets/favicon/apple-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="152x152" href="./assets/favicon/apple-icon-152x152.png">
  <link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon/apple-icon-180x180.png">
  <link rel="icon" type="image/png" sizes="192x192"  href="./assets/favicon/android-icon-192x192.png">
  <link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="96x96" href="./assets/favicon/favicon-96x96.png">
  <link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon/favicon-16x16.png">
  <link rel="manifest" href="./assets/favicon/manifest.json">
  <meta name="msapplication-TileColor" content="#ffffff">
  <meta name="msapplication-TileImage" content="./assets/favicon/ms-icon-144x144.png">
  <meta name="theme-color" content="#ffffff">
  <link rel="stylesheet" href="./assets/css/bootstrap.min.css">
  <link rel="stylesheet" href="./assets/css/app.css">
  <title>Lincoln Incidents Data by Christian Cleberg</title>
</head>

<body>
  <nav class="navbar navbar-expand-lg navbar-dark text-center">
    <a class="navbar-brand w-100" href="./">Lincoln Incidents</a>
  </nav>

  <div class="container-fluid">
    <div class="alert alert-warning"><strong>Tip: </strong> These graphs cover a long period of time and are best viewed in a desktop browser.</div>

    <form>
      <div class="form-row">
        <div class="col-lg-3">
          <label for="beginningYear">Beginning Year</label>
          <input id="beginningYear" type="text" class="form-control" placeholder="1990">
        </div>
        <div class="col-lg-3">
          <label for="endingYear">Ending Year</label>
          <input id="endingYear" type="text" class="form-control" placeholder="2020">
        </div>
        <div class="col-lg-3">
          <label for="crimeSelect">Incident Type</label>
          <select id="crimeSelect" class="custom-select">

            <option disabled>-- Arrests and Citations --</option>
            <option value="Felony">Felony</option>
            <option value="Misdemeanor">Misdemeanor</option>
            <option value="DWI">DWI</option>
            <option value="Traffic Tickets">Traffic Tickets</option>
            <option value="Traffic Warnings">Traffic Warnings</option>

            <option disabled>-- Motor Vehicle Accidents --</option>
            <option value="All Reportable">All Reportable</option>
            <option value="Property Damage">Property Damage</option>
            <option value="Injury">Injury</option>
            <option value="Fatality">Fatality</option>

            <option disabled>-- Violent Crimes --</option>
            <option value="Homicide">Homicide</option>
            <option value="Rape and Attempted Rape">Rape and Attempted Rape</option>
            <option value="Robbery">Robbery</option>
            <option value="Aggravated Assault">Aggravated Assault</option>

            <option disabled>-- Non-Violent Crimes --</option>
            <option value="Burglary (Residential)">Burglary (Residential)</option>
            <option value="Burglary (Non-Residential)">Burglary (Non-Residential)</option>
            <option value="Auto Theft">Auto Theft</option>

            <option disabled>-- Thefts (Except Vehicles) --</option>
            <option value="All Thefts">All Thefts</option>
            <option value="Stolen Bikes">Stolen Bikes</option>
            <option value="Theft From Vehicles">Theft From Vehicles</option>
            <option value="Shoplifting">Shoplifting</option>

            <option disabled>-- Other Crimes --</option>
            <option value="Vandalism">Vandalism</option>
            <option value="Fraud">Fraud</option>
            <option value="Forgery">Forgery</option>
            <option value="Arson">Arson</option>
          </select>
        </div>
        <div class="col-lg-3 d-flex align-items-end">
          <div class="w-100">
            <label for="cb1">Per Capita</label>
            <input class="tgl tgl-light" id="cb1" type="checkbox">
            <label class="tgl-btn" for="cb1"></label>
          </div>
            <div class="w-100">
              <label for="cb2">Years Only</label>
              <input class="tgl tgl-light" id="cb2" type="checkbox">
              <label class="tgl-btn" for="cb2"></label>
            </div>
          <button type="submit" class="btn btn-warning w-100" style="height:auto">Submit</button>
        </div>
      </div>
    </form>

    <div id="chart"></div>

    <footer class="footer">
      <p class="text-white m-0"><a class="link" href="https://cleberg.io" target="_blank">Christian Cleberg</a> &copy; 2021</p>
      <p class="text-white m-0"><a class="link" href="https://sr.ht/~cyborg/lincoln-incidents">Source Code</a></p>
    </footer>
  </div>

  <!-- JavaScript -->
  <script src="./assets/js/jquery-3.5.1.min.js"></script>
  <script src="./assets/js/bootstrap.bundle.min.js"></script>
  <script src="./assets/js/plotly-1.57.1.min.js"></script>
  <script src="./assets/js/app.js"></script>
</body>

</html>