编辑D3 Sunburst可视化的innerRadius [英] Edit the innerRadius of D3 Sunburst visualization

查看:536
本文介绍了编辑D3 Sunburst可视化的innerRadius的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改Sunburst可视化的最内圈的半径?请参见以下示例:(








自定义图层高度1





>



< hr>

自定义图层高度3



jsfiddle




How can I change the radius of the innermost circle of the Sunburst visualization? See following example: (http://bl.ocks.org/d/910126/ - notice how large is central area; can it be smaller?)

Also, is it possible to define different heights for all the layers in the Sunburst?

解决方案

Yes, it is possible.


Base Example

jsfiddle


Custom layer height 1

jsfiddle


Custom layer height 2

jsfiddle


Custom layer height 3

jsfiddle

这篇关于编辑D3 Sunburst可视化的innerRadius的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆