Curved Lines
✓ Published0🌍 Public
Four line charts show how D3’s curve bundle interpolator changes with beta values of 0, 0.25, 0.5, and 1, producing progressively smoother, more rounded paths from the same six fixed points. Each chart uses the same coordinates, with only the curve function varying, and is drawn as an SVG path with a black stroke. The example reproduces a figure from Munzner’s *Visualization Analysis and Design* using D3 v5’s `d3.line()` and `d3.curveBundle.beta()`.
AI-generated descriptionInspired by a figure from chapter 5 of Tamara Munzner's excellent book "Visualization Analysis and Design".
Played around with d3indepth's D3 curve explorer to until I got lines that were similar in curvature to what I was reproducing (and took some inspiration from the source code too :) )
MIT Licensed