2022-04-07 05:36:56 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8"/>
|
2022-04-15 03:15:24 -04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
2022-04-07 05:36:56 -04:00
|
|
|
<script src="chart.js"></script>
|
|
|
|
<script src="chartjs-adapter-date-fns.bundle.js"></script>
|
|
|
|
<script src="chartjs-chart-error-bars.umd.js"></script>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
div.chart {
|
|
|
|
margin: 20px auto;
|
2022-04-15 03:15:24 -04:00
|
|
|
max-width: 750px;
|
2022-04-07 05:36:56 -04:00
|
|
|
}
|
2022-04-15 03:15:24 -04:00
|
|
|
#controls {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2022-04-16 12:42:46 -04:00
|
|
|
align-items: center;
|
2022-04-15 03:15:24 -04:00
|
|
|
gap: 20px 20px;
|
2022-04-07 05:36:56 -04:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<title>💩📈</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>💩📈</h1>
|
|
|
|
<div id="controls">
|
|
|
|
<label>
|
|
|
|
Start date:
|
|
|
|
<input id="startDate" type="date">
|
|
|
|
</label>
|
|
|
|
<label>
|
|
|
|
End date:
|
|
|
|
<input id="endDate" type="date">
|
|
|
|
</label>
|
2022-04-16 12:42:46 -04:00
|
|
|
<label>
|
|
|
|
Cut off Omicron spike?
|
|
|
|
<input id="cutOmicron" type="checkbox">
|
|
|
|
</label>
|
2022-04-07 05:36:56 -04:00
|
|
|
</div>
|
|
|
|
<div class="chart">
|
|
|
|
<canvas id="northCanvas"></canvas>
|
|
|
|
</div>
|
|
|
|
<div class="chart">
|
|
|
|
<canvas id="southCanvas"></canvas>
|
|
|
|
</div>
|
|
|
|
<script src="poopGraph.js"></script>
|
|
|
|
<div>
|
|
|
|
Download data: <a href="/data.csv">CSV</a> <a href="/data.json">JSON</a>
|
|
|
|
</div>
|
2022-04-16 13:37:52 -04:00
|
|
|
<h5>
|
2022-04-16 12:52:21 -04:00
|
|
|
<a href="https://www.mwra.com/biobot/biobotdata.htm">Data source: Massachusetts Water Resources Authority</a>
|
2022-04-16 13:37:52 -04:00
|
|
|
</h5>
|
|
|
|
<h5>
|
2022-04-16 12:52:21 -04:00
|
|
|
<a href="https://git.xeno.science/xenofem/poop-graph">Source code</a>
|
2022-04-16 13:37:52 -04:00
|
|
|
</h5>
|
|
|
|
<h5>
|
|
|
|
(c) 2022 xenofem, MIT License
|
|
|
|
</h5>
|
2022-04-07 05:36:56 -04:00
|
|
|
</body>
|
|
|
|
</html>
|