Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Tableau 10 Business Intelligence Cookbook
Tableau 10 Business Intelligence Cookbook

Tableau 10 Business Intelligence Cookbook: Create powerful, effective visualizations with Tableau 10

Arrow left icon
Profile Icon Paul Banoub Profile Icon Donabel Santos
Arrow right icon
$54.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8 (5 Ratings)
Paperback Nov 2016 476 pages 1st Edition
eBook
$9.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Paul Banoub Profile Icon Donabel Santos
Arrow right icon
$54.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8 (5 Ratings)
Paperback Nov 2016 476 pages 1st Edition
eBook
$9.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$9.99 $43.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Tableau 10 Business Intelligence Cookbook

Chapter 1. Basic Charts

In this chapter, we will cover:

  • Creating a bar chart
  • Creating a stacked bar chart
  • Creating a line chart
  • Creating a scatter plot
  • Creating a heat map
  • Creating a text table (crosstab)
  • Creating a highlight table
  • Creating an area chart
  • Creating a pie chart
  • Creating a bubble chart
  • Creating a word cloud
  • Creating a tree map

Introduction

You are about to embark on a wonderful journey with Tableau! We will classify charts that are easily created in Tableau without much customization as basic. Charts that might be less commonly used, or ones that require more steps and configurations, will be tackled in the next chapter as advanced charts.

In this chapter, we will start with the basic charts that you can create with Tableau. Each recipe will demonstrate the steps required to create different graphs. You will also find nuggets of formatting and annotation options in select recipes that will enhance the charts.

Although the recipes are presented in a specific sequence of steps, more often than not, you can re-create the same visualization even if the steps are in a different order. You can start experimenting with these once you are more comfortable with Tableau.

Ready to start your Tableau adventure? If so, proceed with gusto!

Creating a bar chart

Bar charts represent numeric values as bars, split across clear categories. Bar charts are very effective charts for comparing magnitudes, and spotting highs and lows in the data.

In this recipe, we will create a bar chart that shows the top 15 movies in 2007-2011 by Average Rotten Tomatoes Score.

Creating a bar chart

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx file. Use the worksheet called Bar, and connect to the HollywoodMostProfitableStories data source.

Getting ready

How to do it...

The following are the steps to create the top 15 movies bar chart:

  1. From Dimensions, drag Film to Rows.
  2. From Measures, drag Rotten Tomatoes % to Columns.
  3. Change the aggregation of Rotten Tomatoes % from Sum to Average. You can do this by clicking on the drop-down icon in the Rotten Tomatoes % pill, or by right-clicking it:
    How to do it...
  4. Hover your mouse pointer over the Avg. Rotten Tomatoes % axis and click on the sort icon that appears. This will sort the bars in descending order:
    How to do it...

    Note

    Note that once the bars are sorted, you will find the descending sort icon appears beside the axis name, even without hovering over it.

  5. From Dimensions, drag Film to the Filters shelf. This will open a menu for filters:
    How to do it...
  6. Select the Top tab. Choose By field: and specify Top, 15, Rotten Tomatoes %, and Average as shown next. Click OK when done:
    How to do it...
  7. Adjust the width and height of the film titles. You can do this by moving your mouse pointer to the column or row edge of a film until you see a double-headed arrow. The left-right double-headed arrow allows you to adjust the width, and the up-down double-headed arrow allows you to adjust the height.
  8. From Measures, drag Audience Score % to the Color in the Marks card. Change the Aggregation from Sum to Average:
    How to do it...
  9. Click on the drop-down arrow beside the color legend and choose Edit title…. Change the title to Avg Audience Score. You can get to this option by clicking on the drop-down arrow on the color legend's top-right corner.
    How to do it...
  10. Click on the drop-down arrow beside the color legend again. This time choose Edit colors….
  11. Choose the Blue 10.0 palette. Select the Stepped Color, and specify 5 steps:
    How to do it...
  12. Click on Tooltip in the Marks cards, and add the following tooltip:

    Note

    Note that only fields you have used in the sheet can be added in the tooltip via the Insert dropdown. You can also add some predefined values such as Data Source Name, Sheet Name, or Page Count.

    How to do it...

How it works...

Bar charts are probably one of the most common, if not the most common, type of chart that is used to visualize data. Bar charts are best used when you are comparing numeric data that is clearly split between different items or categories. These charts are an easy favorite among the chart types because it allows us to easily look at the edges, and see approximately how much longer one bar is than another, even if the difference is very slight. Bars are also often sorted to make it easy to spot top or bottom items.

Bar charts can be presented either vertically or horizontally. The decision sometimes depends on the number of items being represented. If you have many items, labels can become less readable with vertical bar charts. In Tableau, there is an easy way to switch between vertical and horizontal bar charts. There is a swap icon in the Tableau toolbar that swaps the pills from Rows to Columns and vice versa.

How it works...

In this recipe, we simply dragged the Film dimension to Columns and the Avg. Rotten Tomatoes % measure to Rows, and Tableau already knew what to do. When you check out your Marks card, you will see that the selection is still set to Automatic, but the actual icon beside it is bars:

How it works...

To help the reader understand the bar chart better, we can also sort the bars in either ascending or descending fashion. A quick way to sort items in Tableau is by hovering over a column header or an axis, until you see a sort icon appear. In an axis, the first click on the icon sorts the marks in descending fashion. The second click sorts ascending, and the third click sorts it back to data source order. With a column header, which is produced by discrete fields, the fields will be sorted alphabetically in ascending order on the first click, descending on the second click, and then back to data source order on the third click.

Note

Discrete and continuous fields are discussed in more detail in Appendix C, Working with Tableau 10. This book comes with a supplementary chapter – Appendix C, Working with Tableau 10, which aims to help the novice navigate their way and get up to speed with Tableau. This supplementary chapter can be downloaded from the following link:

https://www.packtpub.com/sites/default/files/downloads/AppendixCWorkingwithTableau10.pdf

In our recipe, we also picked the top 15 highest rated films from our data source. We are setting the expectation that as the reader sees the movies from top to bottom, the ratings also are lower. Tableau makes it easy to pick the top n items on some measure. You can simply right-click on the dimension you want to filter, and select Filter… to open the filter window for more options. Tableau provides a tab called Top, which allows you to keep only the top or bottom n items, based on a measure you specify.

How it works...

One enhancement we can do with bar charts that Tableau allows us to do very easily is to overlay another measure. In this recipe, we used color to show the Avg Audience Score %. You will notice that although the length of the bars are in descending fashion, the color density doesn't follow the same pattern. This indicates that the audience may not necessarily agree with the Rotten Tomatoes % ratings.

There's more...

Bar charts can also be created using Tableau's Show Me tool, which by default appears in the top-right corner of your Tableau design area. You simply need to select the fields from your side bar that you wish to visualize, and the possible charts from this combination are enabled in the Show Me tool. The Show Me tool is introduced and discussed in more detail in Appendix C, Working with Tableau 10.

See also

  • Please refer to the Creating a stacked bar chart recipe in this chapter

Creating a stacked bar chart

Stacked bar charts, like regular bar charts, represent numeric values as segmented bars, and each bar is a specific, distinct category. The segments in the bar that are stacked on top of each other represent related values, and the total length of the bar represents the cumulative total of the related values for that category.

In this recipe, we will create a stacked bar chart that represents the top movies by year, further segmented by genre.

Creating a stacked bar chart

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Stacked Bar, and connect to the HollywoodMostProfitableStories data source.

Getting ready

How to do it...

The following are the steps to create the stacked bar chart:

  1. From Dimensions, drag Year to Rows.
  2. From Measures, drag Worldwide Gross Amount to Columns.
  3. Right-click on the Worldwide Gross Amount axis and select Format…. The original data side bar will now be replaced by the format side bar for the axis.
    How to do it...
  4. Under the Scale section, change the Numbers format to Currency (Custom), with 1 decimal place, and unit in Billions (B).
    How to do it...
  5. Hover your mouse pointer over the Year column header, and click twice on the sort icon that appears. The first click sorts the years in ascending order. The second click will sort the years in descending order, with the latest year at the top and earliest year at the bottom.
    How to do it...

    Note

    Note that the Year pill in the Rows shelf will now have an icon that indicates it is sorted in descending order.

  6. Right-click on the Worldwide Gross Amount axis and select Edit Axis.
  7. Under the Tick Marks tab in the Major tick marks section, select Fixed and set it for every 500,000,000 units.
    How to do it...
  8. From Dimensions, drag Genre to Color in the Marks card. This will create the stacked bar.
  9. Click on the drop-down arrow beside the color legend and choose Edit Colors….
  10. Choose the Color Blind 10 palette and click on Assign Palette. Click on OK when done.
  11. Adjust the width and height of the bars. You can do this by moving your mouse pointer to the column or row edge of a year until you see a double-headed arrow. The left-right double-headed arrow allows you to adjust the width, and the up-down double-headed arrow allows you to adjust the height.
  12. From Dimensions, right-click and drag Film to Detail in the Marks card. This will open a window providing options on what exact detail needs to be added to the card.
  13. Choose CNTD(Film), which means the number of unique films. CNTD is the Count Distinct function.
    How to do it...
  14. Click on Tooltip in the Marks cards, and add the following tooltip. Note that data points that you have already used in your worksheet (or viz) can be inserted into the tooltip.
    How to do it...

How it works...

A stacked bar chart is simply a bar chart that has bars that are further segmented or split based on some criteria. Stacked bar charts have related values stacked on top of each other, and are best used when we want to see cumulative totals instead of individual values.

To create a stacked bar chart, you simply need to drop a discrete field onto a formatting card in your Marks card.

Note

Discrete and continuous fields are discussed in more detail in Appendix C, Working with Tableau 10.

The Marks card contains additional properties, and depending on the type of mark, there may be a sixth property that appears. To create segments in a bar, we can add the discrete field in any of the following: Color, Size, Label, and Detail.

How it works...

The Color tool is often used in stacked bar charts as this splits the bar into different, discernible colors. In this recipe, we started by using a bar chart that represents the top grossing films in 2007-2011. We placed the dimension Genre onto Color, which created the color partitions in our graph based on Genre.

However, depending on what you're displaying, you may also consider using Size:

How it works...

You can also segment the bars by Label:

How it works...

You could also use the combination of Color, Size, and Label:

How it works...

The Detail property will also work, but this does not make the segmentation obvious. It simply creates the very thin borders around the segment—which can be easily overlooked.

I encourage you to be adventurous—see what's possible! Tableau allows you to explore possibilities with ease, which is one thing I really love about the tool. I may not necessarily use that combination, but seeing the combination might open up possibilities for me, or see data in a different light, or it might help uncover insights that were previously buried when we were analyzing using a single formatting card.

There's more...

It might be tricky to use Show Me to generate a stacked bar chart because the fields placed in Rows, Columns, and Headers are automatically assigned. After the initial chart is generated from Show Me, you may need to swap axes, or move pills around.

In addition, be careful when using stacked bar charts. Stacked bar charts are great when you still want to see that cumulative number. However if you wanted to see and compare each individual segment, it will make your analysis hard because the not all of the segments have the same starting point.

There's more...

In the previous screenshot, if you highlight just Comedy, you will see that the bars in each year don't start at the same point, therefore it is harder to compare them. For example, can we easily tell that the Worldwide Gross Amount for Comedy is greater for 2010 compared to 2009? It is hard to tell from this graph.

See also

  • Please refer to the Creating a bar chart recipe in this chapter

Creating a line chart

A line chart often represents trend over time, and typically requires numeric values plotted as lines over date-related fields.

In this recipe, we will create a time series graph (or line chart) that shows the number of floods over time. In addition, we will show the number of fatalities and represent this as the width of the line graph. This will enable us to see more obviously when the most flood-related fatalities occurred.

Creating a line chart

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Line, and connect to the MasterTable (FlooddataMasterListrev) data source.

Getting ready

How to do it...

The following are the steps to create a time series graph in Tableau:

  1. From Dimensions, drag Began to Rows. Tableau will automatically choose the YEAR level for this date field.
  2. Right-click on the Null column heading in YEAR(Began), and select Exclude.
    How to do it...
  3. From Measures, drag Number of Records to Columns.
  4. From Measures, drag Dead to Size in the Marks card.
  5. Click on the top-right drop-down arrow of the size legend and choose Edit title….
    How to do it...
  6. Edit the title of the size legend to display Fatalities.
  7. From Measures, drag Dead to Color in the Marks card.
  8. Click on the top-right drop-down arrow of the color legend and choose Edit title….
    How to do it...
  9. Edit the title of the color legend to display Fatalities.
  10. Click on Color in the Marks card. Under the Effects section, select the middle marker.
    How to do it...
  11. Click on Size in the Marks card. Drag the size control to the right to make the marks in your chart bigger.
    How to do it...
  12. Annotate your marks. In this sample, I have chosen to annotate 2003 (the year with the highest number of floods) and 1991, 2004, and 2008 (the years with the highest numbers of fatalities). To annotate the marks, you can right-click on the mark in your chart and select Annotate, and then Mark.
    How to do it...

    The annotation for the year 2003 looks like the following:

    How to do it...
  13. Hide the Began field label at the top of the chart by right-clicking it, and selecting Hide field label for columns.
  14. Right-click on the Number of Records axis, and change the title to # Floods.

How it works...

By default, Tableau creates a line chart—also called a time series chart—when a Date (or Date & Time) field is placed in either the Rows or Columns shelf. A Date field is presented in the side bar with a small calendar icon, while a Date & Time field will be a small calendar icon with a clock. Line charts are best used when you want to see patterns over time.

In this recipe, when we dragged the Began field onto Rows, the field showed up as YEAR(Began) instead of just the Began field.

How it works...

Date fields in Tableau have a natural hierarchy—meaning you can roll up to a higher date level like YEAR, or drill down to a lower level like DAY. In this case, we see a blue YEAR(Began) pill, which indicates Tableau presented the years as a series of discrete headers.

Note

Discrete and continuous fields are discussed in more detail in Appendix C, Working with Tableau 10.

When the year field was rendered, the first column value that appeared was Null. A Null means there is no value, that is, this data is missing for some records. One way to remove it is to right-click the column header and select Exclude. Exclude creates a filter, but it is a negation filter. Whatever is checked will be excluded. When you investigate the settings for this filter, you will find that Null is checked, but the bottom checkbox for Exclude is checked.

How it works...

In this recipe, we also used SUM(Dead) to be presented both in Color and Size. The darker the color and the thicker the line indicates the more fatalities. Adding this visual cue in the line graph allows us to easily identify when the most fatalities occurred, without having to hover over each point in the graph and look at the details.

There's more...

Tableau is a great visualization tool that gives us a lot of flexibility over how we want to display our graphs. However, it can also be a double-edged sword. Nothing stops us from creating all kinds of chart just because we can. However, we shouldn't. Just because we can does not mean we should. We should identify first our data points, and evaluate the best (or most effective) way to represent them.

Take, for example, the following line chart. The line chart has a vertical sales axis. At the bottom of the graph, we can find the discrete categories.

There's more...

Is the line chart the best way to represent this information? No. In fact, this is incorrect and grossly misleading. When your audience first looks at this graph, the initial perception is that we are showing the fluctuations of sales over time. There is also a notion of relatedness, that is, that the category headers are somehow related. This isn't true. Categories are nominal. There is no inherent order in these classifications. When we move the category labels around, it shouldn't affect the message that is being relayed by the graph. This particular graph can be best represented as a bar chart.

See also

  • Please refer to the Creating a bar chart recipe in this chapter

Creating a scatter plot

A scatter plot is technically a collection of scattered points. Scatter plots require measures (numeric values) on both the vertical and horizontal axes. Scatter plots allow us to see the relationship between two variables, and are great for visualizing clusters, showing possible correlations, and spotting outliers.

In this recipe, we will use a data source that compiled the highest-paid players in 2014. We will create a scatter plot to see whether there is a general correlation between the earnings of a top player, and the value of their endorsement deals.

Creating a scatter plot

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Scatter Plot, and connect to the Top Athlete Salaries (Global Sport Finances) data source.

Getting ready

How to do it...

The following are the steps to create the scatter plot presented in this recipe:

  1. From Measures, drag Salary/Winnings $ to Columns.
  2. From Measures, drag Endorsements $ to Rows.
  3. Change Mark to Circle.
    How to do it...
  4. From Dimensions, drag Sport to Color in the Marks card.
  5. From Dimensions, drag Athlete to Label in the Marks card.
  6. Change the default number format of Endorsements $. You can do this by right-clicking the Endorsements $ field in the Measures section of the side bar, selecting Default properties and then Number Format…. In the window that shows up, set the following:
    • Currency (Custom)
    • Decimal places: 0
    • Prefix $
    • Suffix M
    How to do it...
  7. Click on the drop-down arrow beside the color legend and choose Edit colors….
  8. Choose the Superfishel Stone palette and click on Assign Palette. Click on OK when done.
  9. Right-click on the Sport pill in the Marks card, and select Show highlighter. This will show the data highlighter control, a new feature in Tableau 10 that allows you to search and highlight all points on hover.
    How to do it...
  10. Right-click on an empty area in your chart and select Annotate, and then Area.
  11. Add the following text in your area annotation:
    How to do it...
  12. Test the data highlighter. Hover each of the options and notice that as you hover over a sports name, only the players (represented by circles) who belong to that sport are highlighted. Note that in this data set, it seems only soccer has a positive correlation between Salary/Winnings $ and Endorsements $.
    How to do it...

How it works...

Scatter plots are great for determining clusters, correlations, and outliers. Scatter plots require a continuous field in Rows (which produces the vertical or Y axis) and another continuous field in Columns (which produces the horizontal or X axis).

Note

Discrete and continuous fields are discussed in more detail in Appendix C, Working with Tableau 10.

When you first plot the continuous measure fields in the Rows and Columns, you will see a single mark on your canvas.

How it works...

You may be scratching your head and thinking this is not a scatter plot. You are correct, it is not, because it is missing the scatter. However, at this point, Tableau is simply following your instructions, which is to display the aggregate of one measure in Rows and the aggregate of another measure in Columns. In our recipe, it is the SUM(Salary/Winnings $) and the SUM(Endorsement $). This is really just an X and Y coordinate.

To create the scatter plot, this one point needs to be scattered. This can be done by adding dimensions in the Marks card that can force the scatter. For example, adding the Player field to Detail in the Marks card will make Tableau represent one mark per player, and each mark is the SUM(Salary/Winnings $) and SUM(Endorsements $) for that player.

If you want each record from the data source to be presented as a mark in your graph, you can drag the unique identifier for that row into Detail, and that will force the scatter. Alternatively, you can go to the Analysis menu and uncheck Aggregate Measures.

How it works...

Notice that when you uncheck Aggregate Measures, the measure pills in your Rows and Columns will now be in disaggregated format, that is, Salary/Winnings $ instead of SUM(Salary/Winnings $).

How it works...

In this recipe, we also added Sport to Color in the Marks card, so that we can visually identify which points belong to which Sport. Tableau 10 also introduces the data highlighter, which you can activate by right-clicking on a pill you have used in your view and selecting Show Highlighter.

How it works...

In previous versions, the color legend allows you to highlight the points in the view, based on the color you select from the legend. The data highlighter is an improvement to this, and allows you to highlight the points interactively on hover, based on values you specify, or values that match a pattern, on the highlighter card.

For example, when you click on the Highlight Sport field, the list of values will appear. As you hover over the values, the corresponding Sport in the Color property is highlighted, as well as all the points in the scatter plot that belong to that sport.

How it works...

The highlighter, however, can also work with the other dimensions you have used in your canvas, not just the pill that is in Color. For example, you can show the highlighter for player. This allows you to search for players, and highlight them in the scatter plot.

How it works...

Creating a heat map

Heat maps are graphs that display information using a matrix of colors. Often the density of color in the matrix represents the concentration of information, or the relative magnitude of the values. Heat maps are great for spotting patterns based on the concentration or density of information.

In this recipe, we will create a heat map that can easily show which flood caused the most fatalities, and in which year it occurred.

Creating a heat map

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Heat Map, and connect to the MasterTable (FlooddataMasterListrev) data source.

Getting ready

How to do it...

The following are the steps to create the heat map:

  1. From Dimensions, drag Began to Rows. Tableau will automatically choose the YEAR level for this date field.
  2. Right-click on the Null column heading produced by the YEAR(Began) pill in Rows, and select Exclude.
    How to do it...
  3. From Dimensions, drag Main Flood Cause to Columns.
  4. From Measures, drag Dead to Color in the Marks card.
  5. Click on the top-right drop-down arrow of the color legend and choose Edit title….
  6. Edit the title of the color legend to display Fatalities.
  7. Click on the drop-down arrow beside the color legend and choose Edit colors….
  8. Choose the Gray Warm 10.0 palette and click on Assign Palette. Click on OK when done.
  9. Adjust the width and height of the columns. You can do this by moving your mouse pointer to the column or row edge of a film until you see a double-headed arrow. The left-right double-headed arrow allows you to adjust the width, and the up-down double-headed arrow allows you to adjust the height.
  10. Add the grid borders. You can do this by selecting the Format menu item, and selecting Borders…. The format sidebar will replace the original data sidebar. In this Format borders side bar, under the Sheet tab Default section, add borders to the Cell, Pane, and Header.
    How to do it...
  11. Right-click on the column with the darkest color—the column that represents the year 2004 and the main cause of Tidal Surge. Select Annotate and then Mark. Add the following annotation:
    How to do it...

How it works...

Heat maps allow us to easily see values that stand out based on the color density. In our recipe, we created a grid of colors based on the number of fatalities caused by floods. Where the color is darkest is when the number of fatalities was the highest.

To create a heat map in Tableau, we simply need to identify the dimensions we want and place them into our Rows and/or Columns. We also need to place a measure onto the Color in the Marks card, and this determines the density of the color for that intersection or column.

There's more...

By default, measures, when dropped onto Color in the Marks card, will produce a gradient of colors. While pretty, sometimes the color differences are not so discernible. To make the colors more easily identifiable, we can elect to step the colors.

There's more...

Stepping the color means there will be a finite number of colors used, instead of a gradient of colors that has all the color progression from the palette. The challenge with gradient is it is not easy to see how different one light blue is from another light blue, for example.

Another common variation for heat maps is adding another measure to Size in the Marks card. When you do this, the heat map will now have a series of different sized squares, instead of having a uniform size grid. For example, the following chart is what we will get if we place the measure Displaced onto Size.

There's more...

What other use cases can benefit from a heat map? Heat maps can be used to spot trends in different verticals—to spot when students register, promotions are redeemed, profit increases, traffic is light/heavy and so on. The following screenshot can help identify shopper behavior—whether there is any particular month and day combination that seems to be most popular to shoppers.

There's more...

See also

  • Please refer to the Creating a text table (crosstab) recipe in this chapter
  • Please refer to the Creating a highlight table recipe in this chapter

Creating a text table (crosstab)

A text table is also often referred to as a crosstab, a shortened term for cross tabulation. Another common term that can be used to describe text tables is a spreadsheet. A text table is a series of rows and columns that have headers and numeric values. Text tables are great when the audience requires to see the individual values. A limitation of text tables is that it requires attentive processing—whoever is using the text table needs to focus on reading and comparing the numbers because any patterns or insights are not very easy to spot.

In this recipe, we will create a text table that shows the top 20 movies from 2007-2011, based on the worldwide gross amount.

Creating a text table (crosstab)

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Text Table, and connect to the HollywoodMostProfitableStories data source.

Getting ready

How to do it...

The following are the steps to create the crosstab:

  1. Change the default number format of Audience score %. You can do this by right-clicking the field Audience score % in the Measures section of the side bar, selecting Default properties and then Number Format…. In the window that shows up, set the following:
    • Number (Custom)
    • Decimal places: 0
    • Suffix %
  2. From Dimensions, drag Film to Rows.
  3. From Dimensions, drag Year to Rows.
  4. From Dimensions, drag Film to Filters. This will open a window with several options for filtering the Film field.
  5. Select the Top tab. Choose By field: and specify Top 20 by Average Rotten Tomatoes %, as shown here:
    How to do it...
  6. From Measures, drag Worldwide Gross Amount to Text in the Marks card.
  7. Right-click on the Worldwide Gross Amount pill in the Marks card, and choose Format.
  8. Format the Pane tab to use:
    • Currency (Custom)
    • Decimal places: 0
    • Prefix: $
    How to do it...
  9. Double-click on Audience score % in the Measures pane. This adds this measure to the text table. This also introduces a new Measure Values shelf in your canvas.
  10. From Measures, double-click on Rotten Tomatoes % to add this to the text table.
  11. Change the Rotten Tomatoes % aggregation to Average. You can do this by right-clicking on this pill in the Measure Values shelf, going to Measure (Sum), and changing this to Average.
  12. From Measures, double-click on Audience Score % to add this to the text table.
  13. Change the aggregation of Audience Score % to Average.
  14. From Measures, double-click on Profitability to add this to the text table.
  15. Rearrange the pills in the Measure Values shelf by dragging them manually to have the following order:
    How to do it...
  16. Right-click the Film pill in Rows, and click on Sort….
  17. In the Sort window, select:
    • Sort order Descending
    • Sort by field Worldwide Gross Amount using Aggregation of Sum

How it works...

A text table is simply a series of text values and numbers in a grid. This is a pretty common request for organizations that are very numbers-oriented, and have just started transitioning to a more visual culture.

To create a text table in Tableau, usually you identify the dimensions you want to place in your Rows and/or Columns. There are a couple ways to create the text table:

  • Drag the measures onto the middle canvas until you see the Show Me icon, and then let go of the mouse
  • Drag the first measure onto Text in the Marks card, and double-click on the rest of the measures you want to add

Both of these actions introduce the Measure Names and Measure Values pills in your visualization.

Note

Measure Names and Measure Values are discussed in more detail in Appendix C, Working with Tableau 10.

Measure Names, which is discrete, gets placed in your Rows or Columns as a header, and Measure Values gets placed onto the Text property in your Marks card:

How it works...

There's more...

Tableau places limitations on creating text tables. By default, for example, only six columns will display properly. If you have more than six columns, the leftmost columns get concatenated.

There's more...

To adjust this, you need to go to the Analysis menu, then Table Layout, then Advanced. There you can adjust the number of rows and column labels.

There's more...

Tableau still, however, restricts this number. The maximum you can use is sixteen (16). Ultimately, if you need more columns and want to display all the numbers in the table, but not necessarily support visual analysis, then perhaps Tableau isn't the tool that is meant to do that job. Tableau is a great tool for visual analysis and exploration, so it is best to use it as such.

See also

  • Please refer to the Creating a highlight table recipe in this chapter

Creating a highlight table

Highlight tables represent tabular information in a color-coded grid. The background color of the individual cells corresponds to the relative magnitude of the value it represents. Highlight tables are great when displaying the actual numeric values are important, but you also want the visual emphasis by adding the background colors on the cells.

In this recipe, we will modify the text table created in the Creating a text table (crosstab) recipe to create a text table with colored background, based on a film's worldwide gross amount:

Creating a highlight table

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Highlight Table, and connect to the HollywoodMostProfitableStories data source.

Getting ready

In addition, this recipe requires the text table in the Creating a text table (Crosstab) recipe to be created. This text table is the starting point of this recipe.

How to do it...

The following are the steps to creating a highlight table:

  1. If you haven't already done so, follow the steps in the recipe Creating a text table (crosstab) to create the starting text table.
  2. From Measures, drag Worldwide Gross Amount to Color in the Marks card.
  3. Change the mark in the Marks card to Square.
  4. Click on the drop-down arrow beside the color legend and choose Edit colors….
  5. Choose the Orange-Blue Light Diverging palette. Select the Stepped Color, and specify 5 steps.
    How to do it...
  6. Click on the drop-down arrow beside the color legend and choose Edit title….
  7. Edit the title of the color legend to display Worldwide Gross.

How it works...

You might like the heat map because it emphasizes the items that have the darkest or lightest colors, but don't like the fact that it doesn't have the numbers.

How it works...

You might like text tables, but it requires that you look at the numbers closely and focus before you can make sense of it.

How it works...

You're in luck, you can create a hybrid table. You can have the text table, and color the grids according to your selected measure. This hybrid table is called the highlight table.

There is a trick to creating highlight tables in Tableau. The first is to create a text table. See the Creating a text table recipe in this chapter for the steps. Once you have the text table, you can drop a measure onto Colors in the Marks card. This colors your text table with a gradient of colors, which honestly will make your text table very hard to read.

How it works...

Once your table already has the gradient-colored text, the final step is to change the mark to a Square. This is the magic sauce that creates your highlight table.

See also

  • Please refer to the Creating a text table recipe in this chapter

Creating an area chart

An area chart is very similar to a line chart (time series graph) with the area between the axis and the line shaded. A stacked area chart segregates the area, based on related categories. Area charts may allow trends to be more easily spotted because the eye focuses on a bigger area rather than comparing lines.

In this recipe, we will create an area chart that will show the results of restaurant re-inspections in New York City from June 2012 to June 2016.

Creating an area chart

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Area, and connect to the DOHMH New York City Restaurant data source.

Getting ready

How to do it...

The following are the steps to create the area chart for re-inspections:

  1. Change the mark type to Area in the Marks card.
  2. From Measures, drag Number of Records to Rows.
  3. From Dimensions, right-click and drag Inspection Date to Columns. This will open a window asking for the specific value to place.
  4. Choose continuous month. This is the MONTH(Inspection Date) option in the fourth section, with a green calendar icon to its left.
    How to do it...
  5. From Dimensions, right-click drag Inspection Date to Filter. This will open a window that shows the possible variation of values that can be used.
  6. Choose to filter by discrete year, which is the third option called Years with a blue # beside it, and then click Next >.
    How to do it...
  7. Under the General tab, choose all years except for 1900.
    How to do it...
  8. Under the Wildcard tab:
    • Type the keyword Re-inspection in the Match value: text box
    • Choose Contains in the radio button options
    • Leave the checkbox to Include all values when empty checked
    How to do it...
  9. From Dimensions, right-click and drag Grade to Color in the Marks card.
  10. Click on the drop-down arrow beside the color legend and choose Edit colors….
  11. Choose the Color Blind 10 palette and click on Assign Palette. Click on OK when done.
  12. Right-click on an empty area in your chart and select Annotate, and then Area.
  13. Add the following annotation, and place it on top of the area that represents the A grades.
    How to do it...

How it works...

Area charts look like line charts (or time series graphs) that have shaded areas. Area charts are also similar to stacked bar charts, where the areas are cumulative. It is best used when you want to show the cumulative value of the measures you are using. Area charts, however, bear the same risks as the stacked bar chart. Because individual areas are stacked, it is hard to compare the different areas because they don't all start in the same level.

Creating an area chart is similar to creating your line chart and your stacked bar chart. You create a time series graph first. By default, Tableau will create a time series graph (or line graph) first when you put a Date or Date & Time field in either Rows or Columns, and a Measure in the other.

Once you have the time series graph, you can change the mark to Area, and drop a dimension in Color in the Marks card to create the different colored areas.

There's more...

I've often asked students in my training classes when they would usually use area charts, and majority of the time students mention budgeting. With budgeting, they care about what proportion over time goes to which categories, but they also care about the cumulative value of the budget.

See also

  • Please refer to the Creating a stacked bar chart recipe in this chapter

Creating a pie chart

A pie chart is a circle—or pie—that is sliced. Each slice is identified using a different color and/or label. The size or angle of the slice represents that item or category's proportion to the whole. Pie charts are best at showing part-to-whole relationships when there aren't too many slices. Bar charts are great and popular alternatives to pie charts.

In this recipe, we will create a pie chart that shows the top five endorsements in 2014, sliced by sport.

Creating a pie chart

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Pie, and connect to the Top Athlete Salaries (Global Sport Finances) data source.

Getting ready

How to do it...

The following are the steps to create a pie chart:

  1. Change the mark type to Pie in the Marks card.
  2. From Measures, drag Endorsements $ to Angle in the Marks card.
  3. From Dimensions, drag Sport to Color in the Marks card.
  4. Right-click on Sport pill in the Color property in the Marks card and select Filter….
  5. In the Top tab, select By field: Top and 5 by Sum of Endorsement $.
    How to do it...
  6. Right-click on Sport pill in the Color in the Marks card and select Sort.
  7. Filter Ascending by Sum of Endorsement $.
    How to do it...
  8. From Measures, drag Endorsements $ to Label in the Marks card.
  9. Right-click on SUM(Endorsements $) pill in the Label property in the Marks card. Select Quick table calculation, and then Percent of total.
    How to do it...
  10. From Measures, drag Endorsements $ again to the Label in the Marks card.
  11. Click on Label in the Marks card, and select the ellipsis button under Label Appearance to modify the style of the text.
    How to do it...
  12. Change the format of the label to show the following, and click OK when done.
    How to do it...

How it works...

Tableau comes with a built-in mark called Pie. When you switch the mark to a Pie, a new property appears under the Marks card called Angle.

How it works...

To create a pie chart, simply change the mark to a Pie. Drag a measure to Angle, and a discrete field to Color.

Often a pie chart is accompanied by a label containing what the pie is, and what percentage of the pie that slice is. Percent of Total is a readily available Quick Table Calculation.

How it works...

To add this as a label, you need to add a measure to the Label in Marks card first. This will initially display the actual values of that measure. Once added, you can right-click on this measure and select Quick Table Calculation. This should expand the readily available quick table calculations, which would include Percent of Total.

There's more...

Pie charts often get a bad reputation in the visual analytics world. One reason is because humans can't naturally compare angles (or pie slices) easily, especially if the pie slices are pretty close in size. Bar charts are often more effective in showing the difference in magnitudes, because all we need to look at are the edges.

Note

If you are interested, you can check out the world's most accurate pie chart. Word of warning however, you have to have humor to continue (credit to Damien Foley's blog site): http://bit.ly/accuratepiechart.

I think part of the issue is also abuse. Sometimes there is a tendency to overuse pie charts in presentations—especially the 3D tilted, exploded ones. Comparing angles is hard enough, tilting and exploding the pies do not help clarify the numbers.

Note

Word of wisdom: the slices of the pie in a pie chart must sum up to 100%. Wisdom is learning from other's mistakes http://bit.ly/best-pie-chart-ever.

However, pie charts can be effective in showing what proportion of the whole is allocated to something. I think pie charts have their place in the visual analytics and reporting world. Just like any other tools in your toolset, we just need to use them in the right place, right time.

See also

  • Please refer to the Creating a tree map recipe in this chapter

Creating a bubble chart

Bubble charts present data using circles of different sizes and colors. The sizes and colors of circles, or bubbles, vary based on the values they represent. A larger and/or darker circle often represents items or categories with higher values.

In this recipe, we will create a bubble chart that shows the countries with the highest populations in 2015.

Creating a bubble chart

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Bubble, and connect to the Data (Modified Gapminder Population) data source.

Getting ready

How to do it...

The following are the steps to create a bubble chart:

  1. Change the mark type to Circle in the Marks card.
  2. From Dimensions, drag Year to the Filter shelf. This will open a new window for the filtering options.
  3. Under the General tab, while Select from list radio button option is selected, type in 2015 in the search text box to find this value from the list of years, and check it.
    How to do it...
  4. From Measures, drag Population to Size in the Marks card.
  5. From Dimensions, drag Region to Color in the Marks card.
  6. From Dimensions, drag Country to Label in the Marks card.
  7. From Measures, drag Population to Label in the Marks card.
  8. Right-click on the SUM(Population) pill in the Label card, and select Format. This will open a format pane that temporarily replaces your data side bar.
  9. In the Format side pane, under the Pane tab in Defaults section, choose Number (Custom) with 1 decimal place, and Millions (M) as unit.
    How to do it...
  10. Right-click on the Country pill in the Label card and select Sort.
  11. Choose an Ascending sort order by Sum of Population.
  12. Click on Label in the Marks card, and select the ellipsis button under Label Appearance to modify the style of the text.
    How to do it...
  13. Adjust the label so Country is shown with a larger font, and population appears underneath it with a smaller font.
    How to do it...
  14. Click on the drop-down arrow beside the color legend again. This time choose Edit colors….
  15. Choose the Color Blind 10 palette.

How it works...

A bubble chart typically shows information in circles of varying colors and sizes. Creating a bubble chart in Tableau requires changing the mark type to Circle. A measure is typically placed in Size, as well as another dimension in either Color, Label, or Detail (or any combination thereof).

In this recipe, we placed the Population measure onto Size, created different bubbles for every country by placing Country in Label, and color the circles by Region.

How it works...

There's more...

If the pie chart gets a bad reputation, bubbles charts do too (maybe more). If we humans cannot compare angles with ease, we are also generally not very good at comparing diameter and circumference. Is that circle 15% bigger than the previous circle?

Most would argue that bar charts would be more effective than bubble charts, and I mostly agree. However, as with the pie chart, I think bubble charts can be effective—depending on the intent and audience.

In my courses, I ask students to present their work to the rest of the class. The goals of the presentation are to present their findings, as well as to engage the audience. One of the charts that frequently captures the attention of the audience is the bubble chart. Sometimes this chart also garners the most questions—therefore more engagement.

I would also argue that typically a single chart is not a be-all and end-all—typically we complement this with other charts, dashboards, and storytelling. There is nothing that stops us from starting our story with a bubble chart to get the audience's initial attention, and once we have their attention, proceed to more details using dependable bar and line charts.

The storytelling piece is also key. We have to be effective storytellers—our charts are simply our props. With effective storytelling, any chart can be effective and exciting.

Note

If you haven't seen Hans Rosling's TED talk on The best stats you've ever seen yet, you are missing out. He is using bubbles that move—aka dancing bubbles!

https://www.ted.com/talks/hans_rosling_shows_the_best_stats_you_ve_ever_seen?language=en

However, it's not the chart that makes the presentation, it's the storyteller that makes this presentation impactful and unforgettable.

See also

  • Please refer to the Creating a pie chart recipe in this chapter

Creating a word cloud

A word cloud, also called a tag cloud, is typically a collection of keywords or text data visualized using size and color. Often, the goal of a word cloud is to represent the relative importance or prevalence of the keywords. Word clouds are not meant to allow the audience to clearly and accurately compare the underlying values of each keyword.

In this recipe, we will create a viz that shows the most popular baby names from 1910-2012. Note that viz is a slang word for visualization.

Creating a word cloud

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Word Cloud, and connect to the TopBabyNamesByState data source.

Getting ready

How to do it...

The following are the steps to create a word cloud:

  1. Change the mark type to Text in the Marks card.
  2. From Measures, drag Occurences to Size in the Marks card.
  3. From Dimensions, drag Gender to Color in the Marks card.
  4. From Dimensions, drag Top Name to Text in the Marks card.
  5. From Dimensions, right-click and drag State to Text in the Marks card.
  6. Select CNTD(State) .
  7. Click on Tooltip in the Marks card to format the tooltip with the following information:
    How to do it...
  8. Click on the drop-down arrow beside the color legend and choose Edit colors….
  9. Choose the Superfishel Stone palette and click on Assign Palette. Click on OK when done.
  10. Right-click on the Top Name pill in the Marks card, and select Show highlighter. This will show the data highlighter control, a new feature in Tableau 10, which allows you to search and highlight all points on hover.
  11. Change the font style of the names to a font style of your choice. To do this, click on Label in the Marks card, and select the ellipsis button under Label Appearance to modify the style of the text.

How it works...

A word cloud can be created in Tableau if you have a field that contains the keywords or values you want displayed in the word cloud, as well as a measure that determines the size of that keyword.

In this recipe, we change the mark to Text, and display the Top Name in Text.

How it works...

In addition, we vary the Size of the names based on the number of occurrences it has in our data source. We also color the names differently based on Gender which is recorded from our data source.

In our tooltip, we also display in how many states this name was recorded as a Top Name. Since we don't use State anywhere in the visualization, but want to use it in our tooltip, we can make this data field available either by dragging it to Tooltip or Detail.

When you right-click and drag a data field onto Rows, Columns, or any of the other shelves, a window with different options for values comes up. When you right-click and drag State, you are going to be prompted with exactly what about State you want to display.

How it works...

In our recipe, we chose CNTD(State), which is the numeric value for the unique number of states related to the Top Name.

There's more...

You have probably seen some word clouds in some of the websites or blog sites you visit. Although it is hard to measure just by looking at the word cloud how many more times a keyword occurs compared to another keyword, this may be an effective chart depending on the context, intent, and audience. Arguably, bar charts would be more effective if you want to clearly state the difference in magnitude. However, in some cases, the intent is to simply illustrate and highlight which keywords are often used or mentioned. Sometimes, the relative comparison may be sufficient.

See also

  • Please refer to the Creating a bubble chart recipe in this chapter

Creating a tree map

Tree maps represent part-to-whole and hierarchical relationships using a series of rectangles. The sizes and colors of rectangles will vary based on the values they represent. Typically, the larger rectangles, or rectangles with most concentrated colors, depict the highest values.

In this recipe, we will represent the 2015 world population as a tree map.

Creating a tree map

Getting ready

To follow this recipe, open B05527_01 – STARTER.twbx. Use the worksheet called Tree Map, and connect to the Data (Modified Gapminder Population) data source.

Getting ready

How to do it...

The following are the steps to create the population tree map:

  1. From Dimensions, drag Year to the Filter shelf. This will open a new window for the filtering options.
  2. Under the General tab, while Select from list radio button option is selected, type 2015 in the search text box to find this value from the list of years, and check it.
    How to do it...
  3. From Measures, drag Population to Size in the Marks card.
  4. From Dimensions, drag Region to Color in the Marks card.
  5. From Dimensions, drag Country to Text in the Marks card.
  6. From Measures, drag Population to Text in the Marks card.
  7. Click on the drop-down arrow beside the color legend card and choose Edit colors….
  8. Choose the Color Blind 10 palette and click on Assign Palette. Click on OK when done.
  9. Click on Label in the Marks card, and select the ellipsis button under Label Appearance to modify the style of the text.
  10. Adjust the label so Country is shown with a larger font, and population appears underneath it with a smaller font.

How it works...

A tree map allows us to present a part-to-whole relationship, just like a pie chart, but by subdividing a rectangle into smaller areas rather than subdividing a circle into different angled slices.

In Tableau, when you place a measure onto Size and a dimension onto either Color, Label, or Detail—or any combination thereof—the rectangle is broken down into smaller rectangles.

How it works...

In this scenario, Tableau actually automatically assigns the Square mark. Although under Marks you will see Automatic, the icon refers to a Square. If you leave this as Automatic, or change the Mark explicitly to Square, you will get the same tree map.

There's more...

Pie charts get a bad reputation because angles and slices are not easy to compare. Bubble charts are also hard to compare, because it is also hard to compare diameters and circumferences. Guess what, tree maps also fall into this same category. It is also not easy nor natural for us humans to discern and compare one area to another. Can we tell how much bigger or smaller one rectangle is compared to another? However, as with the other charts, with the right intent, audience, and story, this could be an effective chart—either by itself, or as a complementary chart to another.

See also

  • Please refer to the Creating a Pie Chart recipe in this chapter
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Cook your favorite Tableau 10 business intelligence recipe with the help of this easy-to-follow book
  • Build beautiful, interactive dashboards and visualizations in Tableau 10 that help you make informed decisions
  • This rich collection of independent recipes cover everything needed to become an advanced Tableau user and get an edge over other Tableau users

Description

Tableau is a software tool that can speed up data analysis through its rich visualization capabilities, and help uncover insights for better and smarter decision making. This book is for the business, technology, data and analytics professionals who use and analyze data and data-driven approaches to support business operations and strategic initiatives in their organizations. This book provides easy-to-follow recipes to get the reader up and running with Tableau 10, and covers basic to advanced use cases and scenarios. The book starts with building basic charts in Tableau and moves on to building more complex charts by incorporating different Tableau features and interactivity components. There is an entire chapter dedicated to dashboard techniques and best practices. A number of recipes specifically for geospatial visualization, analytics, and data preparation are also covered. By the end of this book, you’ll have gained confidence and competence to analyze and communicate data and insights more efficiently and effectively by creating compelling interactive charts, dashboards, and stories in Tableau.

Who is this book for?

This book is targeted to business, data, and analytics professionals who want to build rich interactive visualizations using Tableau. Familiarity with previous versions of Tableau would be helpful, but is not necessary.

What you will learn

  • Become familiar with the Tableau interface
  • Build basic to more advanced charts with step-by-step recipes
  • Use filters, calculated fields, parameters, and actions to add interactivity to charts and dashboards
  • Prepare and transform data for analysis using Tableau's built-in tools and functions
  • Create effective and compelling dashboards and story points
  • Leverage Tableau's mapping capabilities to visualize location and shape data
  • Integrate analytics and forecasting to enhance data analysis
  • Get to know tips and tricks to work more quickly and effectively in Tableau
  • Increase your confidence and competence in creating rich, interactive visualizations in Tableau
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 30, 2016
Length: 476 pages
Edition : 1st
Language : English
ISBN-13 : 9781786465634
Vendor :
Tableau
Category :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Nov 30, 2016
Length: 476 pages
Edition : 1st
Language : English
ISBN-13 : 9781786465634
Vendor :
Tableau
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 170.97
Learning Tableau 10
$60.99
Tableau 10 Business Intelligence Cookbook
$54.99
Mastering Tableau
$54.99
Total $ 170.97 Stars icon
Banner background image

Table of Contents

10 Chapters
1. Basic Charts Chevron down icon Chevron up icon
2. Advanced Charts Chevron down icon Chevron up icon
3. Interactivity Chevron down icon Chevron up icon
4. Dashboards and Story Points Chevron down icon Chevron up icon
5. Maps and Geospatial Visualization Chevron down icon Chevron up icon
6. Analytics Chevron down icon Chevron up icon
7. Data Preparation Chevron down icon Chevron up icon
A. Calculated Fields Primer Chevron down icon Chevron up icon
B. Resources Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.8
(5 Ratings)
5 star 60%
4 star 0%
3 star 20%
2 star 0%
1 star 20%
Gaurav Vijay Dec 28, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I absolutely loved this book. It is clear, precise and the steps given in the book is very easy to learn and implement. I would definitely suggest this book to everyone ..Well Done Donabel !!
Amazon Verified review Amazon
mehdi kazemi Dec 10, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very good book
Amazon Verified review Amazon
JFR Smith May 15, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great
Amazon Verified review Amazon
Dimitri Shvorob Dec 26, 2016
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
I reviewed eight Tableau titles when I started out with Tableau a year ago; since then, there was a second edition of Milligan's "Learning Tableau", now there is "Tableau 10 Business Intelligence Cookbook" by Santos, and "Mastering Tableau" by Baldwin is just around the corner. All three recent books are from Packt. It looks like in a short while, the Tableau segment is going to be dominated by Packt just as the Qlik segment is now.And you know what - I will continue to recommend good non-Packt books over Packt "book products". In this case, why would you pay $50 for a visually unappealing book that simply walks you through Tableau features, when you can get more by viewing free training videos on the Tableau site? (On tableau.com, select Learning > Free Training Videos). 90%+ of "Tableau 10 Business Intelligence Cookbook" is this straightforward and low-value-added; there are 10 pages or so of more intermediate things - primarily, examples of Tableau expressions - but buying a book for them would be a luxury. The "Cookbook" is too basic to be an intermediate Tableau book, yet as a beginner's book, it is manifestly not fit for purpose. It seems that the titular "cookbook" reference simply provides the author with an excuse to run through examples ("recipes") without bothering about explaining Tableau concepts. Sorry, that's not teaching.My advice to a Tableau beginner would be: check out "Communicating Data with Tableau", "Tableau for Dummies" and "Tableau for Healthcare". (Do ignore the "healthcare" bit). All three are good, all three have different styles. Pick one or two which suit you. Milligan's book is worth a look, as follow-up, if you can get it cheaply.
Amazon Verified review Amazon
Hussam Jan 10, 2017
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
I have received a black and white printed book on cheap printing paper..although it should be colored book like the sample on amazon website.I dont recommend buying this item from amazon
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela