【統計圖:箱形圖、幹葉圖、直方圖及累積頻數圖】Statistical Diagrams: Box Plots, Stem-and-Leaf, Histograms and Cumulative Frequency

SketchMath 數學團隊 SketchMath Maths Team | 更新 Updated 2026-10-20

箱形圖顯示五數概括:最小值、Q₁、中位數、Q₃、最大值。幹葉圖保留每一個數據。當組距不同時,直方圖用頻數密度 = 頻數 ÷ 組距。累積頻數曲線可由 50%、25%、75% 水平讀出中位數及四分位數。A box plot shows the five-number summary: minimum, Q₁, median, Q₃, maximum. A stem-and-leaf display keeps every value. A histogram uses frequency density = frequency ÷ class width when the widths differ. A cumulative frequency curve gives the median and quartiles by reading across from 50%, 25% and 75%.

用 AI 逐步解統計圖題目 Solve it with AI練習 43 條 DSE 模擬題 Practise 43 DSE-style questions
拖動 Q₃:箱變長,四分位數間距 Q₃ − 4 增大,中位數及鬚則不動。Q₃ = 9 即例題 1。 Drag Q₃: the box stretches, the IQR = Q₃ − 4 grows, and the median and whiskers stay where they are. Q₃ = 9 is Example 1. 自己試試 → Try it yourself →

統計圖重點 Diagram Facts

五數概括Five-number summarymin, Q₁, median, Q₃, max
四分位數間距Interquartile rangeIQR = Q₃ − Q₁
頻數密度Frequency densityfrequency / class width
圓形圖的角度Pie chart anglefrequency / total × 360°
累積頻數Cumulative frequency對應各組的上組界繪畫Plot against the upper class boundary
↑ 返回頁頂 Back to top

直方圖:面積代表頻數 Histograms: Area Shows the Frequency

當各組的組距不同,長條的高度是頻數密度 = 頻數 ÷ 組距,所以每條長條的面積才與頻數成正比。

When the classes have different widths, the height of a bar is the frequency density = frequency ÷ class width, so the area of each bar is proportional to its frequency.

改變紅色組別的闊度:高度隨之下降,使面積(頻數 60)保持不變。 Change the width of the red class: its height drops so that the area (the frequency 60) stays the same.
↑ 返回頁頂 Back to top

累積頻數曲線:讀出中位數及四分位數 Cumulative Frequency Curve: Reading the Median and Quartiles

把累積頻數對應上組界描點。由總頻數的 50% 水平向右到曲線,再垂直向下讀出中位數;用 25% 及 75% 讀出 Q₁ 及 Q₃。

Plot cumulative frequency against the upper class boundary. Go across from 50% of the total to the curve and down to the axis for the median; use 25% and 75% for Q₁ and Q₃.

移動水平線 p:向右到曲線,再向下到橫軸。在 50 處讀出中位數。 Move the level p: go across to the curve and down to the axis. At 50 you read the median.
↑ 返回頁頂 Back to top

統計圖 Statistical Diagrams

統計圖由細學到大,今日就同大家羅列出數學 DSE 裡面會考嘅所有類型,包括棒形圖、圓形圖、幹葉圖、折線圖、頻數多邊形圖、累積頻數多邊形圖、箱形圖等!

Statistical diagrams are learnt from primary school onwards. This page lists all the types HKDSE can test: bar chart, pie chart, stem-and-leaf diagram, broken-line graph, frequency polygon, cumulative frequency polygon and box-and-whisker diagram.

↑ 返回頁頂 Back to top

棒形圖 Bar Chart

棒形圖由一系列垂直或水平的長方形條組成,橫向軸通常表示類別或分類,而垂直軸則表示數量或比例。它用於比較不同類別之間的數據,顯示各類別之間的差異,例如比較不同產品的銷售量、不同月份的收入等。請注意分析每個條形的高度或長度,並尋找其中的趨勢和差異;特別注意橫向軸和垂直軸的標籤,以確定正確的數據解讀。

例:某家公司在過去五年的營收(百萬美元)如下:2019:20、2020:25、2021:30、2022:28、2023:32。請繪製一個棒形圖,顯示每年的營收情況。

A bar chart is made of a series of vertical or horizontal rectangles. The horizontal axis usually shows the categories and the vertical axis the amount or proportion. It compares data between categories, for example the sales of different products or the income of different months. Look at the height or length of each bar for trends and differences, and read the labels on both axes carefully.

Example: a company's revenue over five years (million dollars): 2019: 20, 2020: 25, 2021: 30, 2022: 28, 2023: 32. Draw a bar chart of the revenue of each year.

↑ 返回頁頂 Back to top

圓形圖 Pie Chart

圓形圖以圓形(360°)為基礎,將數據分成不同的部分,每個部分的大小表示其所占比例,用於顯示整體中各個部分的比例,例如市場份額、支出結構等。請注意每個部分所代表的比例:數值 ÷ 總值 = 角度 ÷ 360° = 比例 ÷ 100。

例:某班級中男生佔 40%,女生佔 60%。男生:0.40 × 360° = 144°;女生:0.60 × 360° = 216°。

A pie chart is based on a circle (360°) divided into parts whose sizes show their proportions of the whole, for example market share or the structure of spending. Remember: value ÷ total = angle ÷ 360° = percentage ÷ 100.

Example: in a class 40% are boys and 60% are girls. Boys: 0.40 × 360° = 144°; girls: 0.60 × 360° = 216°.

↑ 返回頁頂 Back to top

幹葉圖 Stem-and-leaf Diagram

幹葉圖是一種用於顯示數據分佈的方法,其中每個數字被分成「幹」(通常是最左邊的數位或前面的數字)和「葉」(其他數位或最後的數字),特別適合較小的數據集。請注意「幹」的單位,例如「十位」的話,就只需寫上十位的數字,而不是十位的數值;「葉」的數字之間不用加逗號。

例:某班級學生的考試分數(百分制):72, 85, 90, 78, 80, 95, 88:

幹(十分)葉(一分)
72 8
80 5 8
90 5

In a stem-and-leaf diagram each number is split into a "stem" (usually the leading digit or digits) and a "leaf" (the last digit). It shows the distribution of the data, especially for a small data set. Note the unit of the stem: if it is "tens", write only the tens digit, not the tens value, and do not put commas between the leaves.

Example: exam scores 72, 85, 90, 78, 80, 95, 88:

Stem (tens)Leaf (units)
72 8
80 5 8
90 5
↑ 返回頁頂 Back to top

折線圖 Broken-line Graph

折線圖由連接數據點的線段組成,通常用於顯示隨時間變化的數據趨勢,例如股票價格隨時間的變化、氣溫隨季節變化等。請注意 DSE 經常考核的「時間速率關係線圖」及「時間距離關係線圖」,時間放在水平軸上。

時間速率圖(車的速率):線段上升表示不斷加速,下降表示正在減速,水平表示保持均速。時間距離圖:斜率就是速率:直線表示維持同一速率行駛,變平表示正在減速,水平線表示停了下來(速率為 0),變斜表示再次加速。

A broken-line graph is made of line segments joining data points and shows how data change with time, for example a share price over time or the temperature over the seasons. HKDSE often tests the time-speed and time-distance graphs, with time on the horizontal axis.

Time-speed graph of a car: a rising segment means speeding up, a falling segment slowing down, a horizontal segment constant speed. Time-distance graph: the slope is the speed: a straight segment means constant speed, a flatter segment means slowing down, a horizontal segment means the car has stopped (speed 0), and a steeper segment means speeding up.

↑ 返回頁頂 Back to top

頻數多邊形圖 Frequency Polygon

頻數多邊形圖是一種用直線段連接各組頻數點的圖形,每個點的高度代表相應組的頻數,而 x 軸則是數據的類別或分組。它用於顯示數據的分佈情況,特別是在連續的數據集中,通常用於探索數據的形狀和分佈,以及檢視數據的集中趨勢。

例:考試成績(百分制)的頻數分佈表:60–69:5、70–79:8、80–89:12、90–100:6。把每個頻數畫在組中值(64.5、74.5、84.5、95)上,再連線。

A frequency polygon joins the frequency points of each group with straight segments. The height at each point is the frequency of that group, and the x-axis shows the classes or groups. It shows the distribution of the data, especially for continuous data, and helps you look at its shape and centre.

Example: a frequency table of exam marks: 60–69: 5, 70–79: 8, 80–89: 12, 90–100: 6. Plot each frequency at the class mid-value (64.5, 74.5, 84.5, 95) and join the points.

↑ 返回頁頂 Back to top

累積頻數多邊形圖 Cumulative Frequency Polygon

累積頻數多邊形圖是頻數多邊形圖的一種變形,它不僅顯示每個組的頻數,還顯示每個組的累積頻數:每個點的高度代表直至該組組上界的累積頻數。它用於顯示數據的累積分佈情況,可以幫助我們理解數據中的累積趨勢,例如低於某個值的觀察次數,亦可以由圖中讀出中位數及四分位數。

A cumulative frequency polygon is a variation of the frequency polygon. It shows not the frequency of each group but the cumulative frequency: each height is the number of values up to the upper class boundary of that group. It shows how the data build up and helps you read, for example, how many observations are below a given value. You can read the median and the quartiles from it.

↑ 返回頁頂 Back to top

箱形圖 Box and Whisker Diagram Box-and-whisker Diagram

箱形圖(Box and Whisker Diagram)是一種用於顯示數據集中的分佈情況的統計圖表,它提供了數據的五個摘要統計量:最小值、下四分位數(Q1)、中位數(Q2)、上四分位數(Q3)和最大值。除此之外,它還能夠檢測數據的離群值。箱由 Q1 畫到 Q3(箱的長度就是四分位數間距),中間一條線是中位數,兩邊的鬚伸展到最小值和最大值。

A box-and-whisker diagram shows the distribution of a data set with five summary values: the minimum, the lower quartile (Q1), the median (Q2), the upper quartile (Q3) and the maximum. It can also help to spot outliers. The box runs from Q1 to Q3 (its length is the inter-quartile range) with a line at the median, and the whiskers run to the minimum and the maximum.

↑ 返回頁頂 Back to top

統計圖例題詳解 Worked Examples

例題 1 Example 1:閱讀箱形圖 Reading a box plot

某箱形圖的最小值為 2,Q₁ = 4,中位數 6,Q₃ = 9,最大值 15。求分佈域及四分位數間距。A box plot has minimum 2, Q₁ = 4, median 6, Q₃ = 9 and maximum 15. Find the range and the IQR.

  1. range = 15 − 2 = 13
  2. IQR = 9 − 4 = 5

答案: Answer: 分佈域 13,四分位數間距 5Range 13, IQR 5

例題 2 Example 2:幹葉圖 Stem-and-leaf display

幹葉圖:幹 1:2 5 8;幹 2:0 3 3 9;幹 3:1 4。求中位數、眾數及分佈域。The stem-and-leaf display has stem 1: 2 5 8; stem 2: 0 3 3 9; stem 3: 1 4. Find the median, mode and range.

  1. 數據:12, 15, 18, 20, 23, 23, 29, 31, 34(共 9 個)Data: 12, 15, 18, 20, 23, 23, 29, 31, 34 (9 values)
  2. 中位數是第 5 個值:23。眾數:23。分佈域:34 − 12 = 22Median is the 5th value: 23. Mode: 23. Range: 34 − 12 = 22

答案: Answer: 23, 23, 22

例題 3 Example 3:圓形圖 Pie chart

200 名學生中有 25 人選音樂,求音樂扇形的角度。25 of 200 students choose Music. Find the angle of the Music sector.

  1. 25 / 200 × 360°

答案: Answer: 45°

↑ 返回頁頂 Back to top

💡 應試陷阱與秘訣 Exam Traps & Secrets

⚠️ 累積頻數要對應上組界 Plot cumulative frequency at the upper boundary累積頻數要到該組結束才完整,所以要在上組界描點,而不是組中值。The cumulative frequency up to a class is only complete at the end of the class, so plot the point at the upper class boundary, not the mid-value.
⚠️ 組距不等的直方圖 A histogram with unequal classes若各組組距不同,直方圖的高度是頻數密度,而不是頻數。面積才與頻數成正比。If the classes have different widths, the height is the frequency density, not the frequency. The area is proportional to the frequency.
↑ 返回頁頂 Back to top

✏️ 自我測試:互動練習 Self-Test: Interactive Practice

溫習方法:點擊以下任何題目,即時在坐標網格載入並核對計算步驟。How to study: click any question to load it on the coordinate grid and check your steps.

(箱形圖 Box plot)為 3, 5, 6, 8, 9, 12, 14, 15 畫箱形圖,並求四分位數間距。Draw a box plot for 3, 5, 6, 8, 9, 12, 14, 15 and find the IQR.
(累積頻數 Cumulative frequency)由累積頻數表求中位數及四分位數間距。From a cumulative frequency table, find the median and the interquartile range.
(比較 Compare)比較兩班測驗成績的箱形圖,說明哪一班成績較好、哪一班較穩定。Compare two box plots of test scores and say which class did better and which was more consistent.
↑ 返回頁頂 Back to top

統計圖練習題(DSE 模擬題) Exercises: DSE-Style Practice

SketchMath 題庫內的 DSE 風格練習,選擇題及長題目均附解答。 DSE-style practice from the SketchMath question bank, with solutions for every MC and long question.

統計(二) · 中二
30 條選擇題 30 MC · 13 條長題目 13 long questions

常見問題 Frequently Asked Questions

↑ 返回頁頂 Back to top

相關主題 Related Topics

統計學:平均數、中位數、眾數及四分位數 Statistics: Mean, Median, Mode and Quartiles標準分及正態分佈 Standard Score and Normal Distribution離散程度的度量 Measures of DispersionHKDSE 數學全部課題 HKDSE Math: all topicsDSE 數學公式表(全課題) HKDSE Maths Formula SheetDSE 數學練習(按年級) DSE Maths Practice by Form
統計圖 DSE 練習題 Try a DSE Practice Question