d2b › Pie Basic Demos
# Donut Chart
Here is a live interactive demo of the default donut chart without any extra configurations. It is almost identical to the default donut chart; however, the only difference when instantiating the chart, the
.donutRatio() function is also called.
# Default Pie Chart
Here is a live interactive demo of the default pie chart without any extra configurations. Unlike the axis charts, pie charts do not need any generators since it is always going to be one type of chart. Each element in the
datum array holds the information of each pie slice, such as the
label (name) and
value (size) of the slice.