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

Voronoi Treemap

A Voronoi treemap divides a shape into irregular polygon cells, each with an area proportional to its value. It tells the same part-to-whole story as a rectangular treemap, but its organic look is easier to tell apart and works well as an eye-catching cover visual.

Use the makechart.io chart generator to create one without coding: paste or upload your data, bind the value, name and category columns, and adjust cell borders, labels and colors in the Style panel before exporting an image or sharing a link.

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

Data format

One row per cell. Each row needs a numeric value for the cell area; a name labels the cell and a category colors it, with a legend for the categories.

FieldType
area
required
Number
Size of each cell. Use positive values.
name
optional
Text
Label of each cell, such as an item or company name.
category
optional
Text
Group of each cell, used for color and the legend.
Example
namevalcat
Search8.2Ads
Video4.6Ads
Cloud6.1Services
Devices2.3Hardware
Apps3.7Services

When to use

  • Showing the composition of a total with a more distinctive look than rectangles, for reports, slides or social posts.
  • Comparing the relative size of dozens of items grouped by category.
  • Revenue breakdowns, market shares or budget allocation where the overall impression matters more than exact numbers.

When not to use

  • Reading exact values; irregular areas are even harder to compare than rectangles, so use a bar chart.
  • Deep multi-level hierarchies; this chart groups by a single category column.
  • Very many cells: by default only the 100 largest values are drawn, and tiny cells become unreadable.

Tips

  • voronoi max-count sets how many cells are drawn; voronoi preserve decides whether the larger values, smaller values or the first rows in input order are kept.
  • Use border color and stroke-width to make cells stand out or blend together.

Related charts

沃羅諾伊樹狀圖

沃羅諾伊樹狀圖(Voronoi Treemap)把一個圖形切成許多不規則的多邊形區塊,每塊的面積與數值成正比。它和矩形樹狀圖一樣用來呈現整體的組成,但有機的外型更好辨識,也很適合當報告或簡報的主視覺。

用 makechart.io 圖表產生器不必寫程式:貼上或上傳資料,對應數值、名稱與分類欄位,再到「樣式」面板調整區塊邊框、標籤與顏色,就能匯出圖片或分享連結。

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

資料格式

每一列是一個區塊,需要一個代表面積的數值;名稱會標在區塊上,分類決定顏色並顯示在圖例中。

欄位型態
area
必填
數值
每個區塊的大小,請使用正數。
name
選填
文字
區塊的標籤,例如項目或公司名稱。
category
選填
文字
區塊所屬的群組,用來上色與產生圖例。
範例
namevalcat
搜尋8.2廣告
影音4.6廣告
雲端6.1服務
裝置2.3硬體
App3.7服務

適合的使用時機

  • 想用比矩形更有特色的外觀呈現總量的組成,放在報告、簡報或社群貼文中。
  • 比較數十個項目的相對大小,並依分類上色。
  • 營收結構、市占率或預算分配,重點在整體印象而不是精確數字時。

不適合的情況

  • 需要讀出精確數值:不規則的面積比矩形更難比較,請改用長條圖。
  • 多層的階層資料:這張圖只依一個分類欄位分組。
  • 項目非常多時:預設只畫數值最大的 100 個,太小的區塊也會看不清楚。

使用技巧

  • voronoi 的 max-count 設定最多畫幾個區塊;preserve 決定保留數值較大、較小,或依輸入順序的前幾列。
  • 用 border 的 color 和 stroke-width 調整區塊之間的邊框,讓區塊分明或融為一體。

相關圖表

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

s
%
code
Loading