3D Doughnut Chart

Overview

This article explains how to create a 3D Doughnut chart in AnyChart.

To learn more about 3D charts in general and how to customize them, see 3D Charts (Overview). You can also read the Doughnut Chart article.

Quick Start

To build a 3D Doughnut chart, use the anychart.pie3d() chart constructor and the innerRadius() method to set the inner radius. The radius is 0 by default and can be set either as a value or a percentage of the chart's bounds.

This sample shows how to create a basic 3D Doughnut chart:

// create a 3d pie chart and set the data
chart = anychart.pie3d(data);

/* set the inner radius
(to turn the pie chart into a doughnut chart)*/
chart.innerRadius("30%");

Playground

Special Settings

Note: Unlike the ordinary Doughnut chart, 3D Doughnut does not support inner labels.