daniel.szaniszlo daniel.szaniszlo -5 years ago 188
Javascript Question

Increase space between rings in D3 ring chart

I am working on a ring chart with multiple concentric rings.

I would like to increase the space between the rings and the width of the rings.
Here is my working fiddle:


I'd like to achieve something like this
The arrows in the right picture represents the space what I would like to increase.

Thanks in advance

Answer Source

Manipulate with i in arcFunction and arcFunction2:

.attr("transform", "scale(1." + i*3 + ")");


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download