Make curves smoooooooth

This commit is contained in:
2025-05-24 00:06:24 +02:00
parent c96022c7b2
commit 5dec1e78ff
2 changed files with 25 additions and 15 deletions

View File

@@ -206,7 +206,7 @@ chart = {
const line = d3.line()
.x(d => x(d.x))
.y(d => y(d.y))
.curve(d3.curveLinear);
.curve(d3.curveBasis);
// Group to contain the basis function lines
const linesGroup = g.append("g")