rework on plots title, legend and name + generate html page with plots
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Covid data extraction from DRESS dataset</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="keywords" content="thegux, covid">
|
||||
<link rel="stylesheet" href="{{ static }}/css/index.css">
|
||||
<meta name="description" content="A simple page to share some useful data about covid 19">
|
||||
</head>
|
||||
<body>
|
||||
<div class="main-container">
|
||||
<h1>Thegux covid-19</h1>
|
||||
<div>source : <a href="{{ src }}">Data DRESS</a></div>
|
||||
<h3>Hospitalisations/Soins critiques/Décés par status vaccinal groupés par tranches d'âges</h3>
|
||||
{% for field in fields %}
|
||||
<img src="{{ static }}/plots/age_percent_vac_{{ field.name.lower() }}.png"/>
|
||||
<img src="{{ static }}/plots/age_percent_unvac_{{ field.name.lower() }}.png"/>
|
||||
{% endfor %}
|
||||
<h3>Hospitalisations/Soins critiques/Décés par tranches d'âges groupés par status vaccinal</h3>
|
||||
{% for age in ages %}
|
||||
{% for field in fields %}
|
||||
<img src="{{ static }}/plots/vac_percent_{{ age.name.lower() }}_{{ field.name.lower() }}.png"/>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
<h3>Hospitalisations/Soins critiques/Décés par tranches d'âges et status vaccinal</h3>
|
||||
<div class="plot-container">
|
||||
{% for age in ages %}
|
||||
{% for vac_status in status %}
|
||||
<div class="plot-item">
|
||||
<img src="{{ static }}/plots/all_{{ age.name.lower() }}_{{ vac_status.name.lower() }}.png"/>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h3>Hospitalisations/Soins critiques/Décés cumulés par tranches d'âges et status vaccinal</h3>
|
||||
<div class="plot-container">
|
||||
{% for field in fields %}
|
||||
<div class="plot-item">
|
||||
<img src="{{ static }}/plots/cumulative_{{ field.name.lower() }}.png"/>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user