d3.chart.pie:使用 d3 和 d3.chart 的 PieDonut 图

时间:2021-06-15 11:35:49
【文件属性】:
文件名称:d3.chart.pie:使用 d3 和 d3.chart 的 PieDonut 图
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-15 11:35:49
JavaScript d3.chart.pie 使用 d3 和 d3.chart 的饼图/甜甜圈图,请参阅。 受 Boak 的启发并基于jsfiddle。 用法 // Appends the chart to an 'svg' element. var chart = d3 . select ( 'body' ) . append ( 'svg' ) . attr ( 'width' , 450 ) . attr ( 'height' , 300 ) . chart ( 'Pie' , { height : 350 , width : 400 , radius : 100 , donutHole : { radius : 80 } labelTemplate : ' [ {
【文件预览】:
d3.chart.pie-master
----.gitignore(127B)
----package.json(682B)
----.bowerrc(38B)
----gulpfile.js(2KB)
----dist()
--------pie.js(11KB)
--------pie.css(352B)
----LICENSE(1KB)
----examples()
--------example.js(552B)
--------index.html(518B)
----README.md(3KB)
----lib()
--------pie.js(11KB)
--------styles()
----bower.json(691B)

网友评论