🎯 Mục tiêu bài học
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
📖 Bảng Thuật Ngữ Quan Trọng
| Thuật ngữ | Tiếng Việt | Mô tả |
|---|---|---|
| Bar Chart | Biểu đồ thanh | So sánh categories — horizontal |
| Column Chart | Biểu đồ cột | So sánh theo thời gian — vertical |
| Scatter Plot | Biểu đồ phân tán | Relationship giữa 2 variables |
| Treemap | Bản đồ cây | Part-to-whole cho nhiều categories |
| Heat Map | Bản đồ nhiệt | Intensity matrix theo 2 dimensions |
| Waterfall | Biểu đồ thác nước | Contribution to total (P&L) |
| Bullet Chart | Biểu đồ đạn | Actual vs Target KPIs |
| Dual Axis | Trục kép | 2 measures trên cùng 1 chart |
| Choropleth | Bản đồ tô màu | Filled map theo region values |
| Box Plot | Biểu đồ hộp | Distribution: 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?
📊 1. Bar & Column Charts
1.1 Basic Bar Chart
1Bước tạo:21. Drag [Category] → Rows32. Drag [Sales] → Columns43. Sort descending54. Add labels: Drag [Sales] → Label| Variant | Use Case | How |
|---|---|---|
| Horizontal Bar | Compare categories | Dimension → Rows, Measure → Columns |
| Vertical Column | Time comparison | Date → Columns, Measure → Rows |
| Stacked Bar | Part-to-whole | Add dimension to Color |
| Grouped Bar | Side-by-side comparison | Add 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!
📈 2. Line Charts & Area Charts
2.1 Basic Trend Line
11. Drag [Order Date] → Columns (set to Month)22. Drag [Sales] → Rows33. Right-click date → Exact Date / Month2.2 Multi-Line Chart
1Compare multiple categories:21. Tạo basic line chart32. Drag [Category] → Color43. Add markers: Click "Color" → Shape54. Adjust line thickness trong Format2.3 Area Chart
1Line → Area:21. Tạo line chart32. 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!
🔵 3. Scatter Plots & Maps
3.1 Basic Scatter
11. Drag [Sales] → Columns22. Drag [Profit] → Rows33. Drag [Product Name] → Detail44. Optional: Drag [Category] → Color3.2 Bubble Chart
1Scatter + Size:21. Tạo scatter plot32. Drag [Quantity] → Size4→ Bubble size = quantity, position = sales vs profit3.3 Symbol Map
11. Drag [State/City] → Detail (auto-generates map)22. Drag [Sales] → Size33. Drag [Profit] → Color4→ Bigger bubble = more sales, color = profit/loss3.4 Filled Map (Choropleth)
11. Drag [State] → Detail22. Click "Show Me" → Filled Map33. Drag [Sales] → Color4→ Darker color = higher salesSymbol 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!
🧩 4. Advanced Chart Types
5.1 Treemap
11. Drag [Category] → Color22. Drag [Sub-Category] → Detail/Label33. Drag [Sales] → Size44. Click "Show Me" → Treemap5→ Bigger box = more revenueUse case: Part-to-whole khi có nhiều categories (thay thế pie chart).
5.2 Heat Map
11. Drag [Month] → Columns22. Drag [Day of Week] → Rows33. Drag [Count] → Color4→ Matrix showing intensity by day & monthUse case: Patterns theo thời gian (web traffic, sales by hour/day).
5.3 Waterfall Chart
11. Tạo bar chart với [Category] và [Profit]22. Add "Running Total" table calculation33. Convert to Gantt Bar44. Compute [Profit] as Size (negative)Use case: Show contribution to total (P&L breakdown).
5.4 Bullet Chart
11. Drag [Measure] → Columns22. Drag [Dimension] → Rows33. Add reference line cho target44. Show Me → Bullet GraphUse case: Actual vs Target KPIs.
5.5 Box Plot
11. Drag [Category] → Columns22. Drag [Sales] → Rows33. Show Me → Box-and-Whisker Plot4→ Shows distribution: median, quartiles, outliersTreemap 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!
🔀 5. Combination Charts
6.1 Dual Axis
11. Drag [Sales] → Rows (bar chart)22. Drag [Profit Ratio] → Rows (right-click → Dual Axis)33. Right-click right axis → Synchronize Axis44. Change second measure to Line5→ Bars = Sales volume, Line = Profit %6.2 Bar + Line Combo
Use case: Revenue (bars) + Growth Rate (line)
11. [Revenue] → Rows (Bar)22. [Growth %] → Rows → Dual Axis (Line)33. Format line: Thicker, markers on44. Format bars: Muted colorDual 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!
📋 6. Chart Selection Cheat Sheet
Quick Reference
| Mục đích | Best Chart | Avoid |
|---|---|---|
| Compare 5-10 categories | Horizontal Bar | Pie chart |
| Trend over 12+ months | Line | Stacked area |
| Part-to-whole (3-5 parts) | Donut/Pie | Bar |
| Part-to-whole (6+ parts) | Treemap | Pie |
| 2 variables relationship | Scatter | Dual axis bar |
| Distribution | Box plot, Histogram | Bar |
| Geographic | Map (filled/symbol) | Table |
| Actual vs Target | Bullet | Normal bar |
| KPI overview | Big Number + sparkline | Table |
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!
📋 Tổng kết
Kiến thức đã học
| Chủ đề | Nội dung chính | Tầm quan trọng |
|---|---|---|
| Bar & Column | Horizontal, Stacked, Grouped | Core — comparison |
| Line & Area | Trend, Multi-line, Area | Core — time series |
| Scatter & Map | Scatter, Bubble, Symbol, Filled | Relationship + geo |
| Advanced | Treemap, Heat Map, Waterfall, Bullet, Box | Specific needs |
| Combo | Dual Axis, Bar + Line | Complex stories |
| Selection | Cheat sheet — purpose → chart | Decision framework |
Câu hỏi tự kiểm tra
- Khi nào dùng Stacked Bar thay vì Grouped Bar?
- Waterfall chart dùng để trình bày gì?
- Box plot hiển thị những thông tin nào?
- 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!
