旭日圖
旭日圖用一圈一圈的同心圓環呈現有階層的資料:最內圈是最上層的分類,往外每一圈再把上一層細分,能沿著圓環一路看出總量在各層級的分布。
使用 makechart.io 圖表產生器,只需要一張平面表格:每個層級放一欄,依序對應好,圓環就會自動長出來。調整配色與標籤後,就能把這張資料視覺化圖表下載成 SVG 或 PNG。
設定資料
貼上、上傳資料,或用範例資料開始製作這張圖表。
資料格式
每一列是一個最細的項目。把每一層分類各放一欄(由大到小),再加上一欄數值;相同上層的項目會自動加總。
| 欄位 | 型態 |
|---|
category必填 | 分類(可一或多欄) 階層的各個層級,依序對應,由內圈到外圈。 |
value必填 | 數值 每個項目的大小,上層會是下層的加總。 |
name選填 | 文字、分類或順序 最外圈項目的標籤,沒有對應時會使用最後一層分類。 |
範例
| 地區 | 國家 | 城市 | value |
|---|
| 亞洲 | 日本 | 東京 | 14 |
| 亞洲 | 日本 | 大阪 | 9 |
| 亞洲 | 台灣 | 台北 | 7 |
| 歐洲 | 法國 | 巴黎 | 11 |
| 歐洲 | 德國 | 柏林 | 6 |
適合的使用時機
- 呈現總量在兩、三個層級間的拆解,例如地區、國家、城市。
- 找出階層中哪個分支占比最大,例如各資料夾的檔案大小、各部門與團隊的支出。
- 版面適合放圓形、比方形的樹狀圖更精簡的配置時。
不適合的情況
- 只有一個層級的資料,用圓餅圖或甜甜圈圖比較單純。
- 層級太深:外圈會變得很細,標籤也會擠在一起。
- 需要精確比較大小時,樹狀圖或長條圖比較容易判讀。
使用技巧
- category 對應欄位的順序決定哪一層在內圈,可以在「繪圖」面板調整順序來改變階層。
- 在「樣式」面板調整 donut 的 percent 與 padding,可以改變中間的洞和各圈之間的間距。
相關圖表
Sunburst Diagram
A sunburst diagram shows hierarchical data as concentric rings. The inner ring is the top level, and each ring outward splits its parent into smaller parts, so you can follow a total down through several levels of categories.
With the makechart.io chart generator, you only need a flat table: put each level in its own column, bind them in order, and the rings are built for you. Style the colors and labels, then download the data visualization as SVG or PNG.
Set up data
Paste, upload or pick sample data to make this chart.
Data format
One row per leaf item. Put each level of the hierarchy in its own column, from the top level to the most detailed, plus a numeric column. Rows with the same parent are summed up automatically.
| Field | Type |
|---|
categoryrequired | Category (one or more columns) Levels of the hierarchy, bound in order from the inner ring to the outer ring. |
valuerequired | Number Size of each item. Parents get the sum of their children. |
nameoptional | Text, category or order Label of the outermost items. If omitted, the last category is used. |
Example
| region | country | city | value |
|---|
| Asia | Japan | Tokyo | 14 |
| Asia | Japan | Osaka | 9 |
| Asia | Taiwan | Taipei | 7 |
| Europe | France | Paris | 11 |
| Europe | Germany | Berlin | 6 |
When to use
- Showing how a total breaks down across two or three levels, such as region, country and city.
- Exploring which branch of a hierarchy contributes most, such as file sizes by folder or spending by department and team.
- When a radial, compact layout fits the page better than a rectangular treemap.
When not to use
- Flat data with only one level; a pie or donut chart is simpler.
- Very deep hierarchies; the outer rings become thin and labels get crowded.
- Precise comparison of sizes; a treemap or bar chart is easier to read accurately.
Tips
- The order of the bound category columns decides which level is on the inside. Reorder them in the Bind panel to change the hierarchy.
- Adjust donut percent and donut padding in the Style panel to change the center hole and the gap between rings.
Related charts