Commit 6de893a6 authored by Daniel Kullmann's avatar Daniel Kullmann

Debugging average calculation

parent 6971c67b
......@@ -171,6 +171,7 @@ calculate_and_merge_moving_averages(merged_data, list(all_country_data.keys()),
all_data = {
"now": datetime.datetime.now().isoformat(),
"average-window": AVERAGE_OVER_DAYS,
"countries": all_country_data,
"data": merged_data
}
......
......@@ -121,6 +121,25 @@
</div>
</div>
<div class="row">
<div class="col-md-6">
<div>
<button class="log-toggle">Linear scale (click to toggle)</button><br/>
<div class="plot img-fluid" id="new-cases-moving-average" style="width:600px;height:300px"></div>
<br/>
New number of cases (<span class="average-window"/>-days average)
</div>
</div>
<div class="col-md-6">
<div>
<button class="log-toggle">Linear scale (click to toggle)</button><br/>
<div class="plot img-fluid" id="new-cases-per-1m-moving-average" style="width:600px;height:300px"></div>
<br/>
New number of cases per 1 million population (<span class="average-window"/>-days average)
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment