Proportional segmented ring. Each entry in segments (magnitude + colour, in
draw order clockwise from the top) is an arc whose length is its share of the
sum of all non-negative values. Zero/negative segments are skipped, and a total
of zero renders a single muted track ring. size is the SVG width/height in px
and lineWidth the ring thickness in px.
Proportional segmented ring. Each entry in
segments(magnitude + colour, in draw order clockwise from the top) is an arc whose length is its share of the sum of all non-negative values. Zero/negative segments are skipped, and a total of zero renders a single muted track ring.sizeis the SVG width/height in px andlineWidththe ring thickness in px.