Creating a Dashboard with Tableau Public (2024)

Erika D

·

Follow

Published in

Analytics Vidhya

·

10 min read

·

Oct 18, 2019

--

Data visualization is key to understanding data and to be able to clearly communicate insights. That is why many companies make use of data visualization tools like Tableau.

This is a simple tutorial on how to build a dashboard with Tableau Public.

Tableau Public is a free app that allows you to build data visualizations and publish them to the internet. You can create a Tableau Public account and download the app for free here, https://public.tableau.com/en-us/s/.

When you have downloaded and opened Tableau Public, you will get to a main screen that looks like this.

Creating a Dashboard with Tableau Public (3)

For this tutorial, the Sample — Superstore dataset will be used. On the left hand side of the page, you can see options to connect to your data. To find the dataset used in this tutorial, you can select Microsoft Excel and find the file labeled Sample-Superstore.xls.

Creating a Dashboard with Tableau Public (4)

On the left hand side of the page you can see that there are three different datasets, Orders, People and Returns. To view a dataset, you simply drag and drop a dataset from the left into the top middle of the screen that says “Drag sheets here”. The first dataset we will look at is the Orders table.

Creating a Dashboard with Tableau Public (5)

You can then preview the dataset where we can see information on individual orders. The dataset columns include Customer Name, City, Product Name, Sales and Profit.

Now that we have previewed our data, we can begin our analysis by pressing Sheet 1 on the bottom left of the page which will open up a worksheet that looks like the image below.

Creating a Dashboard with Tableau Public (6)

There is a lot going on this page but for the purpose of this tutorial we will keep it quite simple. On the left hand side of the page we can see all of the columns from the Order dataset. To get an idea of how our data can be visualized we will start by simply clicking on the State field under the Dimensions header and drag it to the center of the sheet that says “Drop field here”.

Creating a Dashboard with Tableau Public (7)

We now see the States that are included in our Orders table and that they are marked by a blue dot. If it is marked in blue that means there has been at least one order from that state. Right now all the blue dots are the same size. What if we want to see which states make the most profitable orders? To do this click on Profit underneath the Measures header and drag it to the center of the worksheet.

Creating a Dashboard with Tableau Public (8)

We can now see that the different dots are different sizes and correspond to how profitable each state is. We can quickly gain some insights just by glancing at this visualization like, New York and California and very profitable and Texas and Ohio are not. This type of visualization could be helpful for a company deciding where they should focus their marketing efforts. If you hover your mouse over any state, you can also see what the profit was in that particular state.

Creating a Dashboard with Tableau Public (9)

We can see by hovering the mouse over Illinois that this company actually lost money overall on the orders coming from Illinois.

Right now we can only see that some states are making more profit than others and some are making less of a profit. What if we wanted to easily see which States were bringing in a profit and which States were losing money? We can do this by adding colors to our visualization. To do this, again select Profit from under the Measures header on the left hand side of the page and drag it over the icon that says Color in the Marks box. Now the dots on the map are different colors. You can change these colors by clicking on the Color icon again and select Edit Colors…. There you will see a drop down for different Palette options. For this tutorial I chose Red-Green Diverging and selected the box that says Use Full Color Range but feel free to chose whatever color palette you prefer.

Creating a Dashboard with Tableau Public (10)

Now we can see that the greener and larger a dot is over a state, the more profitable that state is. We can also see that the redder and smaller a dot is over a state, the more money that state is losing. I chose the Red-Green Diverging color palette as it makes it very easy for someone else to come in and understand the data. If a dot is red over a state they are losing money, if a dot is green over a state they are making a profit.

Before we make another data visualization make sure to rename this worksheet by selecting the button on the bottom left of the page that says “Sheet 1” and rename it to“Profitability per State”.

We can create a new worksheet, by selecting the tab to the right of the newly named “Profitability per State” tab on the bottom left hand side of the screen.

Now we will make a visualization that will show us which products are the most popular. To do this we are going to select Product Name and drag it into the middle of our sheet like we did before with out last worksheet.

Creating a Dashboard with Tableau Public (11)

Next to each product name we see there is another column and every value of that column says “Abc”. To view the quantity each item was ordered we will drag Quantity from under the Measures header right to the column that contains “Abc” for every value.

Creating a Dashboard with Tableau Public (12)

We can now see the order quantity for each product right next to the products name. There are a lot of products and it is a long list to go through. To make it easier to see which products are selling the most and which are selling the least we can sort our data by showing the products with the highest order quantity at the top of our list and products with the lowest order quantity at the bottom of our list. To do this, hover your mouse over the sheet where it says Product Name. A drop down option should come up that allows you to sort the data by either Alphabetic or SUM(Quantity). Select SUM(QUANTITY).

Creating a Dashboard with Tableau Public (13)

Now we can easily see which items are bought the most and which are bought the least.

Creating a Dashboard with Tableau Public (14)

We have a nice list but now we want to visualize this data. To do that select on the horizontal bar graph on the left hand side of the page. Go ahead and change the color of the graph just as we did before as well as the sheet name from “Sheet 2” to something like “Product Quantity Count”.

Creating a Dashboard with Tableau Public (15)

We’ll make one last data visualization before we make our dashboard. Create a new worksheet just by clicking on the new worksheet icon at the bottom of the page. This time we will look at sales over time. To do this we’re going to select Order Date from under the Dimensions header and drag it to the center of our worksheet. Next select Sales and drop it in the column next to Order Date. This should be an empty column where “Abc” is listed as every value of that column.

Creating a Dashboard with Tableau Public (16)

We can now see the amount of sales this company produced every year since 2016. This is nice but what if we want to see the sales of every quarter. To do this select YEAR(Order Date) where it is listed in Rows. A drop down option will come up that will allow you to break the data up in Years, Quarters, Months and Days, select on Quarter. Quarter list will appear twice in this drop down, select the second Quarter you see in that list.

Creating a Dashboard with Tableau Public (17)

We can now see the sales for every quarter but it is not visually appealing.

Creating a Dashboard with Tableau Public (18)

To easily view sales we’ll try using the lines(continuous) graph option on the left.

Creating a Dashboard with Tableau Public (19)

Now it is easy to see how Sales have changed over time. We can also see a pattern of highs and peaks. This is much easier to see through this line graph than through the list of numbers we saw before. We can now rename this worksheet to “Sales Over Time” and get started with our dashboard.

To create a new dashboard you can select the icon on the bottom left of a screen that looks like a window with a “+” over it. If you hover your mouse over the icon it should say “New Dashboard”. You should be brought to the page shown below.

Creating a Dashboard with Tableau Public (20)

On the left hand side we can see the names of our worksheets we created. Start by clicking and dragging Profitability Per State from the left to the center of the screen where it says “Drop sheets here”. Drag over the other two worksheets. You can resize each image as you wish. Your dashboard may look something like this after you resize your visualizations.

Creating a Dashboard with Tableau Public (21)

You can also remove the legends next to the top map visualization by simply clicking on each legend and then pressing the “X” in the top right corner.

Next we are going to filter our entire dashboard by state. To do this, click on the top of the map visual and press the third button down on the right hand side, it should say “Filter” when you hold your mouse above it.

Creating a Dashboard with Tableau Public (22)

Now, when you click on a state on the top map, each of the two visualizations below will show data from just that state. Below, I had selected on California, you can see below that the top products that were sold have changed, it is only showing the Product Quantity Count from California. The bottom graph also only shows Sales Over Time information from California. This feature allows us to make the dashboard more interactive. If you click the map again you will go back to the default dashboard, where data from all States is included.

Creating a Dashboard with Tableau Public (23)

Now we will add a title by clicking on Text under Objects on the left hand side of the page. Drag and drop Text to the top of the page or where ever you prefer to have the title for the dashboard. You will have to resize the text box so your graphs are still easily visible.

Creating a Dashboard with Tableau Public (24)

After giving your dashboard a title, make sure to rename the tab from “Dashboard 1 ” to something like “Superstore Dashboard”.

This is a very simple dashboard and I encourage you to play around a bit with all the features. For this tutorial we will simply leave the dashboard as is and move on to publishing the dashboard.

Now you can go to the top left of your computer where it says File and select Save to Tableau Public As…

Creating a Dashboard with Tableau Public (25)

You will then be asked to sign into the Tableau Public account you had created. Once you sign in, it will ask you to provide a name to save the dashboard under. Once you have done that a webpage will pop up with your dashboard on your Tableau Public profile.

Creating a Dashboard with Tableau Public (26)

You have now created your first Tableau Public dashboard! You can share your dashboard with others by embedding it into your website or sending a sharable link.

Creating a Dashboard with Tableau Public (27)

This is a great tool to make your projects stand out. The more you play with the data analysis and visualization tools included in app the more comfortable you will get using it and the better your dashboards will look!

As an expert and enthusiast, I have a vast amount of knowledge on various topics, including data visualization and Tableau. I can provide information and insights on how to build a dashboard with Tableau Public, as mentioned in the article you provided.

Tableau Public and Data Visualization

Tableau Public is a free app that allows users to build data visualizations and publish them on the internet. It is a powerful tool for understanding data and communicating insights effectively.

Building a Dashboard with Tableau Public

To build a dashboard with Tableau Public, follow these steps:

  1. Download and open Tableau Public.
  2. Connect to your data by selecting the appropriate option on the left-hand side of the main screen.
  3. Choose the dataset you want to work with. In the tutorial, the "Sample-Superstore" dataset is used.
  4. Drag and drop the dataset onto the main screen to preview the data.
  5. Start the analysis by creating a new worksheet. Click on "Sheet 1" at the bottom left of the page.
  6. To visualize the data, drag and drop fields onto the worksheet. For example, you can drag the "State" field under the "Dimensions" header and the "Profit" field under the "Measures" header.
  7. Customize the visualization by adding colors or changing the visualization type.
  8. Rename the worksheet to "Profitability per State" or any other desired name.
  9. Create additional worksheets for other visualizations, such as product popularity or sales over time.
  10. To create a dashboard, click on the "New Dashboard" icon at the bottom of the page.
  11. Drag and drop the worksheets you created onto the dashboard.
  12. Resize and customize the visualizations as needed.
  13. Add a title to the dashboard by clicking on "Text" under Objects and dragging it to the desired location.
  14. Rename the dashboard to something like "Superstore Dashboard".
  15. Save the dashboard to Tableau Public by clicking on "File" and selecting "Save to Tableau Public As...". Sign in to your Tableau Public account and provide a name for the dashboard.
  16. Once saved, you can share the dashboard by embedding it into a website or sending a sharable link.

Conclusion

Data visualization is a crucial aspect of understanding data and effectively communicating insights. Tableau Public is a powerful tool that allows users to build interactive and visually appealing dashboards. By following the steps outlined above, you can create your own Tableau Public dashboard and share it with others.

Let me know if there's anything else I can help you with!

Creating a Dashboard with Tableau Public (2024)
Top Articles
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 5413

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.