Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau Cookbook - Recipes for Data Visualization

You're reading from  Tableau Cookbook - Recipes for Data Visualization

Product type Book
Published in Dec 2016
Publisher Packt
ISBN-13 9781784395513
Pages 504 pages
Edition 1st Edition
Languages
Author (1):
Shweta Sankhe-Savale Shweta Sankhe-Savale
Profile icon Shweta Sankhe-Savale
Toc

Table of Contents (18) Chapters close

Tableau Cookbook – Recipes for Data Visualization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Keep Calm and Say Hello to Tableau 2. Ready to Build Some Charts? Show Me! 3. Hungry for More Charts? Dig In! 4. Slice and Dice – Grouping, Sorting, and Filtering Data 5. Adding Flavor – Creating Calculated Fields 6. Serve It on a Dashboard! 7. The Right MIX – Blending Multiple Data Sources 8. Garnish with Reference Lines, Trends, Forecasting, and Clustering 9. Bon Appétit! Tell a Story and Share It with others 10. Formatting in Tableau for Desserts Index

Creating a Line chart


Another frequently used chart type is the Line chart, which is primarily used to show trends over a period of time. This chart type helps us focus on the peaks and dips in the values over a period of time.

The line chart in Tableau uses the Line mark type.

Getting ready

To understand this chart type better, let's create a Line chart to show profit for all the months over the last 4 years.

How to do it…

  1. Let us create a new sheet and rename it to Line chart.

  2. Next, we will drag Order Date from the Dimensions pane and drop into the Columns shelf.

  3. Drag Profit from the Measures pane and drop it into the Rows shelf. Refer to the following image:

  4. Next, we will click on the dropdown for the Blue pill in the Rows shelf, which says Year(Order Date), and select the Month option from the second list—not the first list, which is identical—showing Year, Quarter, Month, and so on. Refer to the following image:

  5. Once we do this, we will get the view as shown in the following image:

How it works...

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 $15.99/month. Cancel anytime