答案 0 :(得分:0)
这应该使用fontawesome
添加图标d3.selectAll(".c3-chart-arcs text").each(function(d) {
// your update code here as it was in your example
d3.select(this).append('text')
.attr('font-family', 'FontAwesome')
.attr('font-size', function(d) { return '2em'} )
.text(function(d) { return '\uf118' });
});