Graphe 2e version

This commit is contained in:
2025-10-19 09:08:49 +02:00
parent 27a2e99706
commit d3b100192c
6 changed files with 352 additions and 148 deletions

View File

@@ -1,10 +1,13 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>Distribution des âges</title>
</head>
<body style="max-width: 700px; margin: 2rem auto; font-family: sans-serif;">
<head>
<meta charset="UTF-8" />
<title>Individus</title>
</head>
<body>
<div style="max-width: 700px; margin: 2rem auto; font-family: sans-serif;">
<h2>Distribution des âges</h2>
<section id="stats" style="margin-bottom: 2rem;">
<h3>Indicateurs clés</h3>
@@ -33,6 +36,16 @@
</div>
<div><canvas id="heatmapChart" width="700" height="200"></canvas>
<div><canvas id="radarChart" width="200" height="100"></canvas>
<script type="module" src="/src/individus.ts"></script>
</body>
<div style="text-align:center; margin-top:1rem;">
<button id="download-json" style="margin-right:1rem; padding:0.5rem 1rem;">
Télécharger JSON
</button>
<button id="download-csv" style="padding:0.5rem 1rem;">
Télécharger CSV
</button>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>