甜甜圈圖
甜甜圈圖又稱環形圖,就是把中間挖空的圓餅圖。讀者看的是圓環上的弧長,而不是扇形的角度;保留了「部分占整體」的意義,中間的空白還可以放總數或簡短說明。
在 makechart.io 線上做圖不需要安裝軟體:貼上或上傳資料,對應名稱與數值欄位,調整中間洞的大小、配色與圖例,就能匯出 SVG、PNG,或用連結分享這份資料視覺化。
設定資料
貼上、上傳資料,或用範例資料開始製作這張圖表。
資料格式
和圓餅圖相同:每一列是一段圓弧,一欄名稱、一欄正數數值,百分比依總和自動計算。
| 欄位 | 型態 |
|---|
name必填 | 文字、分類或順序 每一段圓弧的標籤。 |
value必填 | 數值 每一段的大小,請用正數。 |
category選填 | 分類(可一或多欄) 選填的分組,每對應一個欄位就多一圈圓環。 |
範例
| name | value |
|---|
| 房租 | 12000 |
| 餐飲 | 6000 |
| 交通 | 2500 |
| 儲蓄 | 5000 |
| 其它 | 3000 |
適合的使用時機
- 呈現單一總量的組成,而且類別不多,例如每月開銷。
- 儀表板或報告中,想要比完整圓餅圖更輕盈、簡潔的版面。
- 想同時看兩個層級時,對應 category 欄位加上外圈。
不適合的情況
- 需要精確比較相近的數值,長條圖比較好讀。
- 超過六、七段:細小的圓弧很難分辨。
- 資料本身不是整體的一部分,例如平均值或比率。
使用技巧
- 在「樣式」面板中,donut 的 percent 決定中間洞的大小(0 就是完整的圓餅圖),padding 決定每一圈之間的間距。
- 滑鼠移到圓弧上會顯示名稱與數值;版面不夠時,可以在「樣式」面板關掉圖例。
相關圖表
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.
| Field | Type |
|---|
namerequired | Text, category or order Label of each segment. |
valuerequired | Number Size of each segment. Use positive numbers. |
categoryoptional | Category (one or more columns) Optional grouping. Each bound column adds another ring. |
Example
| name | value |
|---|
| Rent | 1200 |
| Food | 600 |
| Transport | 250 |
| Savings | 500 |
| Others | 300 |
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