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

垂直啞鈴圖

垂直啞鈴圖是直立版的啞鈴圖。每個項目是一條垂直線,兩端各有一個點,標示兩個數值,例如最低與最高、之前與之後。由左到右閱讀,適合有先後順序的項目,例如月份或年份。

可以用它呈現每個項目的區間,例如每月的最低與最高氣溫,或兩個群體之間的差距。在 makechart.io 製作圖表很簡單:貼上或上傳有兩個數值欄位的表格、對應欄位,就能下載 SVG 或 PNG 的資料視覺化成果。

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

資料格式

每一列是一個項目,兩個數值各占一欄。項目會依表格順序,由左到右排在橫軸上。

欄位型態
name
必填
文字、分類或順序
項目名稱,例如月份、隊伍或產品,顯示在橫軸上。
start
必填
數值
第一個數值,例如最小值或較早的測量。
end
必填
數值
第二個數值,例如最大值或較晚的測量。
範例
月份最低最高
1月1319
4月1826
7月2634
10月2128

適合的使用時機

  • 呈現每個項目的區間,例如最小值與最大值、最低價與最高價。
  • 比較有左右先後順序的項目的兩個數值,例如各個月份。
  • 項目數量不多到中等、標籤也比較短的時候。

不適合的情況

  • 項目很多而且名稱很長:橫向的啞鈴圖有更多空間放文字。
  • 時間點很多的連續趨勢,折線圖或面積圖比較適合。
  • 每個項目有兩個以上的數值。

使用技巧

  • 在「樣式」面板把 orientation 改成 horizontal,就會切換成一般的橫向啞鈴圖。
  • 打開 delta 的 show 可標出每段差距;用 dot 的 startColor 與 endColor 區分兩個數值。

相關圖表

Vertical Dumbbell Chart

A vertical dumbbell chart is the upright version of the dumbbell chart. Each item gets a vertical line with a dot at each end, marking two values such as low and high, or before and after. Read from left to right, it works well when the items have a natural order, like months or years.

Use it to create a graph of ranges, such as monthly minimum and maximum temperatures, or of gaps between two groups. makechart.io makes this data visualization simple: paste or upload a table with two value columns, bind them, and download SVG or PNG.

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

Data format

One row per item, with one column for each of the two values. Items are placed along the horizontal axis from left to right in table order.

FieldType
name
required
Text, category or order
Item label, such as a month, team or product. Shown along the horizontal axis.
start
required
Number
First value, such as the minimum or the earlier measurement.
end
required
Number
Second value, such as the maximum or the later measurement.
Example
monthlowhigh
Jan1319
Apr1826
Jul2634
Oct2128

When to use

  • Showing a range for each item, such as minimum and maximum, or lowest and highest price.
  • Comparing two values across items that have a natural left-to-right order, such as months.
  • A small to moderate number of items with short labels.

When not to use

  • Many items with long labels; the horizontal dumbbell chart has more room for text.
  • Continuous trends over many time points; a line or area chart shows them better.
  • More than two values per item.

Tips

  • In the Style panel, set orientation to horizontal to switch to the regular dumbbell chart.
  • Turn on delta show to label each gap, and use dot startColor and endColor to tell the two values apart.

Related charts

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

s
%
code
Loading