donutChart .width(containerWidth) .height(containerWidth) .externalRadius(containerWidth/2.5) .internalRadius(containerWidth/5) .colorScheme(briteChartsColors) .on('customMouseOver', function(data) { legendChart.highlight(data.data.id); }) .on('customMouseOut', function() { legendChart.clearHighlight(); }); donutContainer.datum(dataset).call(donutChart); legendContainer.datum(dataset).call(legendChart);
Check the data input schema of this chart.
You can also export this chart by pressing:
donutChart .width(containerWidth) .height(containerWidth/1.8) .externalRadius(containerWidth/5) .internalRadius(containerWidth/10) .on('customMouseOver', function(data) { legendChart.highlight(data.data.id); }) .on('customMouseOut', function() { legendChart.clearHighlight(); }); donutContainer.datum(dataset).call(donutChart);