Share
Save
data
bind
style
animate
AI
code
info
settings
EN
Chart Info

Donut Chart

A donut chart is a pie chart with its center removed. Slices are read as arcs along the ring rather than as wedges, which keeps the part-to-whole message while leaving the middle free for a total or a short caption.

On makechart.io you can create a graph like this without installing anything: paste or upload your data, bind the name and value columns, tune the hole size, colors and legend, then export it as SVG or PNG or share it with a link.

Set up data
Paste, upload or pick sample data to make this chart.

Data format

Same as a pie chart: one row per slice, with a name column and a column of positive numbers. Percentages are computed from the total.

FieldType
name
required
Text, category or order
Label of each segment.
value
required
Number
Size of each segment. Use positive numbers.
category
optional
Category (one or more columns)
Optional grouping. Each bound column adds another ring.
Example
namevalue
Rent1200
Food600
Transport250
Savings500
Others300

When to use

  • Showing the composition of one total with a few categories, such as a monthly budget.
  • Dashboards and reports where a cleaner, lighter look than a full pie is preferred.
  • Comparing two levels at once, by binding a category column to add an outer ring.

When not to use

  • Precise comparison between similar values; a bar chart is easier to read.
  • More than six or seven segments; small arcs are hard to tell apart.
  • Data that is not part of a whole, such as averages or rates.

Tips

  • In the Style panel, donut percent sets the size of the hole (0 gives a full pie) and donut padding sets the gap between rings.
  • Hover over a segment to see its name and value in the tooltip; the legend can be turned off in the Style panel if space is tight.

Related charts

甜甜圈圖

甜甜圈圖又稱環形圖,就是把中間挖空的圓餅圖。讀者看的是圓環上的弧長,而不是扇形的角度;保留了「部分占整體」的意義,中間的空白還可以放總數或簡短說明。

在 makechart.io 線上做圖不需要安裝軟體:貼上或上傳資料,對應名稱與數值欄位,調整中間洞的大小、配色與圖例,就能匯出 SVG、PNG,或用連結分享這份資料視覺化。

設定資料
貼上、上傳資料,或用範例資料開始製作這張圖表。

資料格式

和圓餅圖相同:每一列是一段圓弧,一欄名稱、一欄正數數值,百分比依總和自動計算。

欄位型態
name
必填
文字、分類或順序
每一段圓弧的標籤。
value
必填
數值
每一段的大小,請用正數。
category
選填
分類(可一或多欄)
選填的分組,每對應一個欄位就多一圈圓環。
範例
namevalue
房租12000
餐飲6000
交通2500
儲蓄5000
其它3000

適合的使用時機

  • 呈現單一總量的組成,而且類別不多,例如每月開銷。
  • 儀表板或報告中,想要比完整圓餅圖更輕盈、簡潔的版面。
  • 想同時看兩個層級時,對應 category 欄位加上外圈。

不適合的情況

  • 需要精確比較相近的數值,長條圖比較好讀。
  • 超過六、七段:細小的圓弧很難分辨。
  • 資料本身不是整體的一部分,例如平均值或比率。

使用技巧

  • 在「樣式」面板中,donut 的 percent 決定中間洞的大小(0 就是完整的圓餅圖),padding 決定每一圈之間的間距。
  • 滑鼠移到圓弧上會顯示名稱與數值;版面不夠時,可以在「樣式」面板關掉圖例。

相關圖表

bind
Auto Bind
Clear
no dimension
Reset
no style
no matching style

s
%
code
Loading