What is a Drop Shadow?

A drop shadow is a visual effect used to give depth to graphical designs by creating the impression that an object is raised above the objects behind it.

Chart with drop shadow

Depth can be a powerful element in the world of graphic and web design. So, Tableau is for visualizing data, can the drop shadow effect be used? The short answer is Yes, for certain things. In this article, I'll show you an approach for containers & buttons (tableau 2018.3):

It should be noted that Tableau is frequently updating it's dashboard design elements. We daily Tableau Users are hoping that there will be an easier, more scalable way of creating container drop shadows in the future (maybe with an extension?). But for now, here is one way to achieve this visual effect on a dashboard.

Want to learn more  about Tableau and data management? Reach out to us at Zuar today!

Drop Shadows in Tableau 2020 - Update

As Tableau releases new features every quarter, we at Zuar continue to look for powerful new ways to Tableau. For those looking for a quick, easy,  flexible, and low maintenance way of create shadowed dashboard containers, check out this 3 step version before exploring Material Design inspired method.

For this example I will be adding them to the Overview Superstore dashboard! Check out this additional example!

Drop shadow graph

Tableau Dashboard Sheet

After you have created the sheets that will be situated on the dashboard:

Gif of Creating initial Tableau Dashboard Containers

1. Drag out Vertical or Horizontal Containers

  • Depending on if you will have sheets above/below each other or side-by-side, drag out a vertical or horizontal container respectively. For this example I will drag out a Vertical for the top half and Horizontal for the bottom half
  • Stack sheets on above/below each other in the Vertical Container.
  • Stack sheets side-by-side in the Horizontal Container.
Gif of adding borders to sheets and containers on Tableau Dashboard

2. Add Borders

  • Add visible borders to sheets or containers that you would like to have the card like appearance by selecting the sheet or double clicking the sheet handle to select the container.
  • Select Layout pane on the left
  • Add a border using the smallest line size and select the third gray color down from white
  • Remove all padding
Gif adding drop shadows to Tableau container

3. Add an Additional Vertical Container for the Shadow

  • Add a Vertical Container next to bordered sheet/containers created in steps 1 and 2.
  • Drop the original sheet or container into this additional Vertical Container.
  • Double click the container handle to grab the newly added Vertical Container
  • Add a border using the 3rd largest border size and use a light gray color (1st option under white) to act as a shadow.
  • Add Outer Padding of 3-5

That's it! This method should help create some visual differences between the contents and is flexible enough to be used for mobile, tablet, alternative layouts!

How to Hide Filters With Dashboard Actions
Here’s the scenario: You are building a Tableau dashboard with a lot of information and want to improve end user experience/exploration through use of pop open sheets created with dashboard actions. Problem: You have a filter that is exclusive to the pop open sheet and also need to hide it when t…

Drop Shadows in Tableau before 2020 - Material Design Inspired

Container

Tableau Containers

1. Drag and Float 2 horizontal and 2 vertical containers onto your dashboard. (Creating 4 quadrants)

HOTKEY ALERT: Holding Shift while dragging out new container objects will auto-formate them to float.

2. Fill all but one container with Blank Objects and Set padding to 0:

  • Drag 1 blank object into the top left vertical container. Set all padding to 0.
  • Drag 2 blank objects into the top right vertical container, stacking vertically. Set all padding to 0.
  • Drag 2 blank objects into bottom left horizontal container, stacking horizontally. Set all padding to 0.

3. Stack and arrange all containers within the bottom right horizontal container (I've colored the blanks for visual discrepancy):

  • Grab the entire bottom left Horizontal container (as opposed to gray, the blue container outline means everything is selected. You may have to double click the handlebar) and drop it into the bottom of top left Vertical container.
  • Grab the entire top right Vertical container and drop it into the bottom right Horizontal Container
  • Grab entire top left container and drop it on the left side of the bottom Horizontal container.
  • Remove all default padding that has been auto created...

4. Create the Shadows. This is where you can really begin making it your own. I'll show a basic example but feel free to mess with dimensions to meet your needs:

  • Fix the bottom left most containers width to 10px and then fix the entire bottom row height anywhere from about 5-10px.
  • Color the bottom right container black with 10% Opacity.
  • Fix top right containers height at 10px and then fix the entire right column width anywhere from about 5-10px
  • Color the bottom right container black with 10% Opacity.

There you have it! Replace the blank in the shadowed container with sheets, text objects, images, etc. and it will now have a drop shadow. The size of the container is adjustable (just grab the whole thing with a tripple click and stretch) and it can even be dropped into a tile position if you don't like floating.

Let me just tell you from experience that this is a great way to add a little extra visual something to your dashboard but is not immensly scalable. Do what you will with this new found shadow!

Why Use Containers?

Containers help maintain the order and structure of your Tableau dashboard. Combined with drop shadows, they offer a quick, convenient way to organize the layout of all of your information. Besides offering formatting benefits, containers allow dashboard users to move multiple objects at once. Containers also allow you to keep an easy, efficient consistency throughout a series of dashboards. Using containers along with drop shadow effects, you can have better control, functionality, and usability of your Tableau data.

How Buttons Can Help

I'd like to highlight one last drop shadow feature, which has been made infintely easier with the Tableau 2018.3 Button Object. Drop shadows on buttons can make them pop. You can obviously use a design tool like Adobe Illustrator and create amazing buttons. But what if I want a fast, low cost or no cost solution?

Drop shadow buttons
  1. Go to this button generator: https://www.imagefu.com/create/button (if you don't care so much about drop shadow and want icons, I've also used this http://buttonoptimizer.com/)
  2. Customize your button and export to png.
  3. Upload to your dashboard and look like a button pro.

We love sharing this information internally and with our community. If you have other creative methods for shadows or similar effects, let us know!

Why Drop Shadows Are Important

The depth effects added by drop shadows do much more than just making your graphics look nicer. By creating a container in Tableau and adding drop shadow effects, your information becomes more visually pleasing and easier to read. When looking at flat charts or graphs, it’s not always easy to discern what the information is trying to convey. Adding depth effects through drop shadows help to fix this problem by making certain data stand out that you may have glanced over in a more “standard” graphic.

While drop shadows tend to be overused in the graphic design world, there is no reason not to utilize them in your Tableau dashboard. Add depth to your containers with drop shadow effects to improve the readability and usability of your data.

Do you want to modernize your business intelligence strategy? That’s our specialty!

Tableau’s Action Filters are fantastic, but they have a problem! 😢
Filter Actions are a super useful Tableau feature. You can click on an element (like a bar or a dot), and Tableau filters specific parts of your dashboards. But they are sometimes buggy. In particular, when used across different dashboards or worksheets. Even though they might work well on Desktop…
How to Embed Tableau Dashboards in a Web Page | Zuar
Here’s how to embed Tableau dashboards with aTableau embed code, Tableau Javascript API, and iframe + Tableau share link.