MinAI - Về trang chủ
Hướng dẫn
5/1340 phút
Đang tải...

Chart Types in Tableau

Master tất cả chart types trong Tableau - Bar, Line, Scatter, Maps, và nhiều hơn nữa

0

🎯 Mục tiêu bài học

TB5 min

Sau bài học này, bạn sẽ:

✅ Tạo được 10+ chart types trong Tableau

✅ Biết khi nào dùng chart nào (selection framework)

✅ Build Treemap, Heat Map, Waterfall, Bullet charts

✅ Tạo Dual Axis và Combo charts

✅ Customize formatting cho professional output

Thời gian: 40 phút | Độ khó: Intermediate | Tool: Tableau Desktop / Public

1

📖 Bảng Thuật Ngữ Quan Trọng

TB5 min
Thuật ngữTiếng ViệtMô tả
Bar ChartBiểu đồ thanhSo sánh categories — horizontal
Column ChartBiểu đồ cộtSo sánh theo thời gian — vertical
Scatter PlotBiểu đồ phân tánRelationship giữa 2 variables
TreemapBản đồ câyPart-to-whole cho nhiều categories
Heat MapBản đồ nhiệtIntensity matrix theo 2 dimensions
WaterfallBiểu đồ thác nướcContribution to total (P&L)
Bullet ChartBiểu đồ đạnActual vs Target KPIs
Dual AxisTrục kép2 measures trên cùng 1 chart
ChoroplethBản đồ tô màuFilled map theo region values
Box PlotBiểu đồ hộpDistribution: median, quartiles, outliers

Checkpoint

Bar = compare categories, Line = trends, Scatter = relationships, Treemap = part-to-whole (nhiều cats), Heat Map = intensity matrix. Bạn nhớ khi nào dùng chart nào chưa?

2

📊 1. Bar & Column Charts

TB5 min

1.1 Basic Bar Chart

Ví dụ
1Bước tạo:
21. Drag [Category] → Rows
32. Drag [Sales] → Columns
43. Sort descending
54. Add labels: Drag [Sales] → Label
VariantUse CaseHow
Horizontal BarCompare categoriesDimension → Rows, Measure → Columns
Vertical ColumnTime comparisonDate → Columns, Measure → Rows
Stacked BarPart-to-wholeAdd dimension to Color
Grouped BarSide-by-side comparisonAdd dimension to Columns beside Date

1.2 Formatting Tips

  • Sort bars by value (not alphabetical)
  • Add data labels cho top items
  • Highlight bar quan trọng bằng contrasting color
  • Remove gridlines nếu có labels

Checkpoint

Horizontal bar = compare categories (sort by value!). Stacked bar = part-to-whole. Grouped bar = side-by-side. Luôn sort descending, không alphabetical!

3

📈 2. Line Charts & Area Charts

TB5 min

2.1 Basic Trend Line

Ví dụ
11. Drag [Order Date] → Columns (set to Month)
22. Drag [Sales] → Rows
33. Right-click date → Exact Date / Month

2.2 Multi-Line Chart

Ví dụ
1Compare multiple categories:
21. Tạo basic line chart
32. Drag [Category] → Color
43. Add markers: Click "Color" → Shape
54. Adjust line thickness trong Format

2.3 Area Chart

Ví dụ
1Line → Area:
21. Tạo line chart
32. Marks card → Change from "Line" to "Area"

When to use: Show volume/magnitude over time (revenue accumulation).

Line chart = trend over time. Multi-line comparison rất powerful — nhưng giới hạn 3-5 lines max. Nhiều hơn → dùng small multiples hoặc highlight 1 line.

Checkpoint

Line = trends over time. Multi-line = max 3-5 series. Area = show volume/magnitude. Set date grain phù hợp: Year → Quarter → Month → Day!

4

🔵 3. Scatter Plots & Maps

TB5 min

3.1 Basic Scatter

Ví dụ
11. Drag [Sales] → Columns
22. Drag [Profit] → Rows
33. Drag [Product Name] → Detail
44. Optional: Drag [Category] → Color

3.2 Bubble Chart

Ví dụ
1Scatter + Size:
21. Tạo scatter plot
32. Drag [Quantity] → Size
4→ Bubble size = quantity, position = sales vs profit

3.3 Symbol Map

Ví dụ
11. Drag [State/City] → Detail (auto-generates map)
22. Drag [Sales] → Size
33. Drag [Profit] → Color
4→ Bigger bubble = more sales, color = profit/loss

3.4 Filled Map (Choropleth)

Ví dụ
11. Drag [State] → Detail
22. Click "Show Me" → Filled Map
33. Drag [Sales] → Color
4→ Darker color = higher sales

Symbol maps tốt khi nhiều data points (cities). Filled maps tốt khi focus vào regions (states, countries). Luôn thêm tooltip info cho hover!

Checkpoint

Scatter = relationship giữa 2 measures. Bubble = scatter + size dimension. Symbol map = nhiều points, Filled map = highlight regions. Trend line từ Analytics pane!

5

🧩 4. Advanced Chart Types

TB5 min

5.1 Treemap

Ví dụ
11. Drag [Category] → Color
22. Drag [Sub-Category] → Detail/Label
33. Drag [Sales] → Size
44. Click "Show Me" → Treemap
5→ Bigger box = more revenue

Use case: Part-to-whole khi có nhiều categories (thay thế pie chart).

5.2 Heat Map

Ví dụ
11. Drag [Month] → Columns
22. Drag [Day of Week] → Rows
33. Drag [Count] → Color
4→ Matrix showing intensity by day & month

Use case: Patterns theo thời gian (web traffic, sales by hour/day).

5.3 Waterfall Chart

Ví dụ
11. Tạo bar chart với [Category] và [Profit]
22. Add "Running Total" table calculation
33. Convert to Gantt Bar
44. Compute [Profit] as Size (negative)

Use case: Show contribution to total (P&L breakdown).

5.4 Bullet Chart

Ví dụ
11. Drag [Measure] → Columns
22. Drag [Dimension] → Rows
33. Add reference line cho target
44. Show Me → Bullet Graph

Use case: Actual vs Target KPIs.

5.5 Box Plot

Ví dụ
11. Drag [Category] → Columns
22. Drag [Sales] → Rows
33. Show Me → Box-and-Whisker Plot
4→ Shows distribution: median, quartiles, outliers

Treemap thay thế pie chart (>5 categories). Waterfall cho P&L breakdown. Bullet cho KPI tracking. Mỗi chart type có 1 purpose cụ thể — đừng force-fit!

Checkpoint

Treemap = part-to-whole (thay pie). Heat Map = intensity matrix. Waterfall = contribution to total. Bullet = actual vs target. Box Plot = distribution!

6

🔀 5. Combination Charts

TB5 min

6.1 Dual Axis

Ví dụ
11. Drag [Sales] → Rows (bar chart)
22. Drag [Profit Ratio] → Rows (right-click → Dual Axis)
33. Right-click right axis → Synchronize Axis
44. Change second measure to Line
5→ Bars = Sales volume, Line = Profit %

6.2 Bar + Line Combo

Use case: Revenue (bars) + Growth Rate (line)

Ví dụ
11. [Revenue] → Rows (Bar)
22. [Growth %] → Rows → Dual Axis (Line)
33. Format line: Thicker, markers on
44. Format bars: Muted color

Dual Axis cẩn thận! Chỉ dùng khi 2 measures liên quan. Luôn Synchronize Axis nếu cùng unit. Nếu khác unit → clearly label cả 2 axes!

Checkpoint

Dual Axis = 2 measures trên 1 chart. Right-click → Dual Axis → Synchronize. Bar + Line combo = volume + rate. Cẩn thận misleading comparisons!

7

📋 6. Chart Selection Cheat Sheet

TB5 min

Quick Reference

Mục đíchBest ChartAvoid
Compare 5-10 categoriesHorizontal BarPie chart
Trend over 12+ monthsLineStacked area
Part-to-whole (3-5 parts)Donut/PieBar
Part-to-whole (6+ parts)TreemapPie
2 variables relationshipScatterDual axis bar
DistributionBox plot, HistogramBar
GeographicMap (filled/symbol)Table
Actual vs TargetBulletNormal bar
KPI overviewBig Number + sparklineTable

Formatting Checklist

  • Chart title descriptive (What + When + Where)
  • Axis labels clear
  • Remove unnecessary gridlines
  • Colors consistent
  • Data labels on key points (not all)
  • Tooltip informative
  • Source noted

Checkpoint

Chart selection: purpose → chart type. Bar = compare, Line = trend, Scatter = relationship, Treemap = part-to-whole (many), Bullet = actual vs target. Luôn chọn đúng chart cho đúng mục đích!

8

📋 Tổng kết

TB5 min

Kiến thức đã học

Chủ đềNội dung chínhTầm quan trọng
Bar & ColumnHorizontal, Stacked, GroupedCore — comparison
Line & AreaTrend, Multi-line, AreaCore — time series
Scatter & MapScatter, Bubble, Symbol, FilledRelationship + geo
AdvancedTreemap, Heat Map, Waterfall, Bullet, BoxSpecific needs
ComboDual Axis, Bar + LineComplex stories
SelectionCheat sheet — purpose → chartDecision framework

Câu hỏi tự kiểm tra

  1. Khi nào dùng Stacked Bar thay vì Grouped Bar?
  2. Waterfall chart dùng để trình bày gì?
  3. Box plot hiển thị những thông tin nào?
  4. Dual Axis chart cần chú ý điều gì?

Bài tiếp theo: Calculated Fields in Tableau — Tạo formulas và custom calculations!

🎉 Tuyệt vời! Bạn đã master các loại chart trong Tableau!

Nhớ: Chọn chart theo purpose: Comparison → Bar, Trend → Line, Distribution → Box, Composition → Stacked!