泡泡圖
泡泡圖(又稱氣泡圖、打包泡泡圖)把每個項目畫成一個圓,圓的面積和數值成正比,所有圓緊密排在一起、不需要座標軸。最大的項目一眼就看得到,依分類分群後,相關的泡泡也會以同色聚在一起。
在 makechart.io 用一張簡單的表格就能製作圖表:把數值欄位對應到 area,有分類的話再對應 group,在「樣式」面板調整標籤、半徑與排列方式,最後下載成 SVG 或 PNG。
設定資料
貼上、上傳資料,或用範例資料開始製作這張圖表。
資料格式
每一列是一顆泡泡,需要一個正數數值;名稱欄位作為標籤,分組欄位(選填)會替泡泡上色並分群。
| 欄位 | 型態 |
|---|
area必填 | 數值(可一或多欄) 泡泡的大小,圓面積與數值成正比。對應兩個以上欄位時,每顆泡泡會變成小圓餅。 |
name選填 | 文字或分類 每顆泡泡的標籤。 |
group選填 | 分類 依分組上色並顯示圖例。 |
color選填 | 文字或數值 改用這個欄位的值決定顏色,而不是依分組。 |
範例
| name | group | value |
|---|
| Chrome | 瀏覽器 | 65 |
| Safari | 瀏覽器 | 18 |
| Android | 作業系統 | 42 |
| iOS | 作業系統 | 28 |
| Windows | 作業系統 | 24 |
適合的使用時機
- 綜覽數十到數百個項目,而最大的幾個最重要時,例如公司營收、關鍵字搜尋量。
- 呈現各分組內的大小分布,例如依類別分群的產品。
- 簡報、海報、資訊圖表中需要吸睛的視覺效果。
不適合的情況
- 需要精確比較時:人眼很難判斷圓面積的差異,長條圖比較準確。
- 資料含有負數或零,無法畫成面積。
- 位置本身有意義(例如兩個數值的關係)時,改用散布圖並對應 size 欄位。
使用技巧
- 在「樣式」面板中,bubble 的 min radius 與 max radius 控制大小範圍,dynamics 的 anchor 可改變分組的排列方式(Default、Circular、Array、none)。
- label 的 enabled 可以選擇同時顯示名稱與數值、只顯示其一,或都不顯示。
相關圖表
Bubble Chart
A packed bubble chart draws each item as a circle whose area is proportional to its value, and packs the circles together without axes. Large items stand out immediately, and grouping by category clusters related bubbles by color.
With makechart.io you can create a graph like this from a simple table: bind a numeric column to area, add a group column if you have one, and fine-tune labels, radius and layout in the Style panel before downloading it as SVG or PNG.
Set up data
Paste, upload or pick sample data to make this chart.
Data format
One row per bubble with a positive numeric value. A name column labels the bubbles, and an optional group column colors and clusters them.
| Field | Type |
|---|
arearequired | Number (one or more columns) Bubble size; the circle area is proportional to the value. Binding two or more columns turns each bubble into a small pie. |
nameoptional | Text or category Label of each bubble. |
groupoptional | Category Groups bubbles by color and adds a legend. |
coloroptional | Text or number Colors bubbles by a value instead of by group. |
Example
| name | group | value |
|---|
| Chrome | Browser | 65 |
| Safari | Browser | 18 |
| Android | OS | 42 |
| iOS | OS | 28 |
| Windows | OS | 24 |
When to use
- Giving an overview of dozens or hundreds of items where the largest ones matter most, such as company revenue or keyword volume.
- Showing sizes within groups, for example products clustered by category.
- Eye-catching visuals for presentations, posters and infographics.
When not to use
- Precise comparison: people judge circle areas poorly, so a bar chart is more accurate.
- Data with negative values or zeros, which cannot be drawn as an area.
- When the position on axes carries meaning; use a scatter plot with a size column instead.
Tips
- In the Style panel, bubble min radius and max radius control the size range, and dynamics anchor changes how groups are laid out (default, circular, array or none).
- Use label enabled to show both name and value, only one of them, or none.
Related charts