Pie chart is useful in comparing the share or proportion of various items. You also need to specify an array of labels so that tooltips appear correctly. It’s ridiculously easy to use. Then simply click to change the data and the labels. Examples of pie charts, donut charts and pie chart subplots. How to graph D3.js-based pie charts in javascript with D3.js. Possible modes are: 'average' 'nearest' 'average' mode will place the tooltip at the average position of the items displayed in the tooltip. Radar Chart. When 'inner' is set, it is guaranteed that all borders will not overlap. Chart with Axis Labels & Ticks inside Plot Area, Multi Series Step Line Chart with Null Data, Stacked Area 100% Chart with Date-Time Axis, Pyramid Chart with Values represented by Area, Pyramid Chart With Index Labels Placed Inside, Box and Whisker Chart with Color Customization, Combination of Range Area and Line Charts, Combination of Column, Line and Area Chart. The interaction with each arc can be controlled with the following properties: These are the customisation options specific to Pie & Doughnut charts. // These labels appear in the legend and in the tooltips when hovering different arcs.