{
const nbGames = cumulated.length;
const lastGame = cumulated[nbGames - 1];
const stepX = width / (nbGames + 1);
const maxY = Math.max(lastGame[0], lastGame[1]);
const yScale = height / maxY;
return htl.html`<svg width=${width} height=${height}>
<path fill="transparent" d="M 0 ${height} ${cumulated
.map((_, index) => `${index * stepX} ${height - _[0] * yScale}`)
.join(" ")}" stroke="purple" />
<path fill="transparent" d="M 0 ${height} ${cumulated
.map((_, index) => `${index * stepX} ${height - _[1] * yScale}`)
.join(" ")}" stroke="red" />
<path fill="transparent" d="M 0 ${height} ${cumulated
.map((_, index) => `${index * stepX} ${height - (_[1] - _[0]) * yScale}`)
.join(" ")}" stroke="cyan" />
</svg>`;
}