Basic Charts & Visualizations
Bar Charts
The bar chart is the workhorse of data visualization. It's the best chart for comparing discrete categories on a single quantitative measure. Tableau makes building bar chart variants trivial — here's how to build each type.
Vertical Bar Chart (Standard)
Category (or any dimension) to the Columns shelf. You'll see three columns labeled with your category values.SUM(Sales) to Rows. Tableau auto-renders a vertical bar chart. The mark type in the Marks card automatically selects "Bar".Horizontal Bar Chart
When your category labels are long (product names, customer names), horizontal bars prevent label overlap. Simply press Ctrl+W to swap rows and columns — your vertical bar chart instantly becomes horizontal. You can also right-click on the chart → Swap Rows and Columns.
Stacked Bar Chart
Stacked bars show part-to-whole relationships within each category. To create one: start with a vertical bar chart, then drag a second dimension (e.g., Segment) to the Color mark. Each bar splits into colored segments representing the sub-categories. Tableau stacks them automatically.
Side-by-Side (Grouped) Bar Chart
To place bars side-by-side instead of stacked: after dragging the second dimension to Color, also drag it to the Columns shelf (add it alongside the first dimension). Tableau creates grouped bars where each main category contains one bar per sub-category placed side by side.
Line Charts
Line charts are the gold standard for showing trends over time. They connect data points sequentially, making it easy to see direction, acceleration, seasonality, and inflection points. In Tableau, building a compelling line chart requires understanding continuous vs discrete date handling.
Basic Time-Series Line Chart
Month or Quarter.SUM(Sales) to Rows. Tableau renders a bar chart first — click the Line chart icon in Show Me (or change the mark type dropdown to Line). You now have a line chart.Multiple Lines (Dual-Axis)
To show two measures as separate lines on the same chart (e.g., Sales and Profit over time): drag the second measure to the Rows shelf alongside the first. Right-click the second measure's axis → Dual Axis. Both measures now share the same axis area with independent scales. Right-click again → Synchronize Axis if you want them on the same scale.
Adding Trend Lines
Right-click on the line chart view → Trend Lines → Show Trend Lines. Tableau fits a linear regression line by default. Right-click the trend line → Edit Trend Lines to switch to Exponential, Logarithmic, Polynomial, or Power trend models — and to show R² and p-values to assess fit quality. Trend lines are essential for sales forecasting presentations.
Pie Charts & Donut Charts
Pie charts show part-to-whole proportions. They're the most misused chart type in data visualization. Use them sparingly and only under specific conditions.
Building a Pie Chart
Pie.SUM(Sales) to the Angle shelf in the Marks card (this appears when Pie is selected). This defines the slice size.Category (or your dimension) to the Color shelf. Each slice gets a color. Add the dimension to Label as well to show slice names.Converting to a Donut Chart
Donut charts (pie with a hole) are more modern and allow placing a KPI number in the center. To create one: build your pie chart, then create a second "blank" Axis on the Rows shelf by typing MIN(0) and dragging it to Rows. Make it dual-axis. Set the inner circle's mark size to large and color it to match the background. The visual result is a donut — add a text label in the center via a floating text object on a dashboard.
Maps
Maps are powerful when your data has a geographic dimension. Tableau has built-in geographic recognition for countries, states, provinces, cities, and ZIP codes. There are two main map types: Symbol Maps and Filled (Choropleth) Maps.
Symbol Map (Bubble Map)
State (or Country, City) in the Data pane. Tableau automatically generates Latitude and Longitude fields and places dots on a map — one per location.SUM(Sales) to the Size mark. Each dot grows proportionally to sales volume — locations with more sales have bigger circles.SUM(Profit) to Color. Now each bubble shows both sales (size) and profit (color intensity) simultaneously — two measures in one chart.Filled Map (Choropleth)
Filled maps color entire geographic regions based on a measure value. In Show Me, select the Filled Map option after placing a geographic field. Drag your measure to Color. A gradient color scale fills each region — darker shades typically indicate higher values. Best for showing density or rate data (like population per square km or sales per capita) rather than raw totals.
Scatter Plots & Text Tables
Scatter plots reveal relationships and correlations between two quantitative variables. Text tables (crosstabs) present precise numeric data in a grid format. Both serve important analytical roles.
Scatter Plot
SUM(Sales) to Columns and SUM(Profit) to Rows. Tableau shows a single aggregate dot — that's because all data is summed into one point.Customer Name (or Product Name) to the Detail mark. This disaggregates the view — one dot per customer. Now you can see the Sales vs Profit relationship for each customer.Text Table (Crosstab)
Drag dimensions to both Rows and Columns to create a matrix, then drag a measure to the Text mark in the Marks card. The result is a grid of numbers — the Tableau equivalent of an Excel pivot table. Use Ctrl+1 to switch to Show Me, and select "Text Table" for automatic configuration. Add conditional coloring by dragging your measure to Color — Tableau applies a gradient, creating a heat map / highlight table that shows the numeric values and their relative sizes simultaneously.
The Chart Selection Guide
Choosing the wrong chart type is the most common data visualization mistake. Use this guide to instantly select the right chart for any business question.
| Business Question | Best Chart | Why |
|---|---|---|
| "Which region sells the most?" | Horizontal Bar | Comparing discrete categories by a single measure |
| "How have sales trended this year?" | Line Chart | Continuous change over time |
| "What % of revenue comes from each category?" | Donut or Stacked Bar | Part-to-whole (donut if <6 parts) |
| "Where are our customers located?" | Symbol Map | Geographic distribution with quantity encoding |
| "Is there a correlation between discount and profit?" | Scatter Plot | Relationship between two continuous measures |
| "Show me exact sales by sub-category and year" | Highlight Table | Precise values + visual magnitude in a grid |
What You Learned
✅ Line charts: continuous dates for trends, discrete dates for year-over-year comparisons
✅ Pie charts: maximum 5-6 slices — use bars instead when in doubt
✅ Maps: Symbol (bubbles at locations) vs Filled (shaded regions)
✅ Scatter plots: add a dimension to Detail to disaggregate from one dot to many
✅ The chart selection rule: match chart type to the question being asked, not personal preference