d3.js concentric ring chart

前端 未结 3 1150
北海茫月
北海茫月 2021-02-11 04:10

I am looking to develop an arc ring chart. Where each new set of data is displayed as a concentric ring inside the other.

http://jsfiddle.net/NYEaX/101/

I\'ve tr

3条回答
  •  忘掉有多难
    2021-02-11 04:49

    Replace

        var endAngle = ((ri+1)*arcPartition); 
    

    by

        var endAngle = startAngle + arcPartition; 
    

提交回复
热议问题