I'm trying to make something like Wolfram's SectorChart in d3 (https://reference.wolfram.com/language/ref/Files/SectorChart.en/O_5.png). I'm currently using a basic data set of
[ { label:0, radius:1 }, { label:1, radius:1 }, { label:2, radius:2 }];
and I'm trying to vary the outer radius of the arc with the following function
var arc = d3.arc()
.innerRadius(0)
.outerRadius(function(d) { return d.radius * 100; })
But this is not functional. Is it even possible to do this in d3? If so, am I on the right path? Thanks