Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau 10 Business Intelligence Cookbook

You're reading from   Tableau 10 Business Intelligence Cookbook Create powerful, effective visualizations with Tableau 10

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781786465634
Length 476 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Donabel Santos Donabel Santos
Author Profile Icon Donabel Santos
Donabel Santos
Paul Banoub Paul Banoub
Author Profile Icon Paul Banoub
Paul Banoub
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Basic Charts FREE CHAPTER 2. Advanced Charts 3. Interactivity 4. Dashboards and Story Points 5. Maps and Geospatial Visualization 6. Analytics 7. Data Preparation A. Calculated Fields Primer B. Resources Index

Using path to display movement in map


We can visualize movements in Tableau by drawing lines between points. This takes advantage of the Line mark and the Path property.

In this recipe, we are going to visualize who Shaquille O'Neal played for from 1992 to 2011:

Getting ready

To follow this recipe, open B05527_05 – STARTER.twbx. Use the worksheet called Using Path, and connect to the Player Stats (NBA Players Regular Season 2009) data source:

You will also need to download the team logos you would like to use (and, of course, check the term agreements to using these logos if you need to use these in public dashboards). Create a folder called NBA in the Shapes folder, and place the icons in this folder:

How to do it...

Here are the steps to create the map with path lines:

  1. Double-click on Latitude and Longitude under Measures. Make sure you double-click on the data source fields, not the Tableau-generated fields. By default, AVG(Longitude) and AVG(Latitude) should be the aggregations that are used...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime