BI & Analytics
Blog
Tableau
4
min read

How to Use a Custom Background Image in Tableau

Learn how to use a custom background image in Tableau to plot data on floor plans, diagrams, or any image. Step-by-step tutorial with coordinates.
Author
Katie Liddle
Katie Liddle
Analytics Engineer
How to Use a Custom Background Image in Tableau
Share article

In Tableau, you can use any image as the background of a worksheet and plot data points on top of it. The technique works because every Tableau map is, underneath, a scatter plot with an image loaded behind the marks. By providing X and Y coordinates for each point, you can map data onto floor plans, site layouts, equipment diagrams, stadiums, vehicles, or any other custom image. This guide walks through the full build in 4 steps.

What is a custom background image in Tableau?

A custom background image in Tableau is any image (JPEG, PNG, or hosted via URL) loaded behind a worksheet's marks to act as the canvas for a scatter plot. Instead of mapping points to longitude and latitude on a world map, you map them to pixel coordinates on your own image.

This unlocks a wide range of non-geographic mapping use cases:

  • Floor plans to plot desk occupancy, sensor readings, or foot traffic.
  • Site maps and warehouses to track equipment, inventory, or incidents.
  • Equipment or vehicle diagrams to flag faults or maintenance points.
  • Sports field layouts to plot player positions or event locations.
  • Building exteriors or architectural elevations for facility data.

The underlying mechanism is simple: Tableau treats your worksheet as a scatter plot with an X axis and a Y axis, and the background image fills the plotting area. You define the image's pixel size as the axis range, then provide each data point with its X and Y pixel position. The marks appear on top of the image at the correct location.

What you need before you start

Three things:

  1. An image file (PNG or JPEG) of whatever you want to use as your background. You can upload it from disk or link to a URL.
  2. The image's pixel dimensions (width and height).
  3. A coordinate table in Excel, Google Sheets, or any other data source, with at minimum three columns: a name for each point, its X coordinate, and its Y coordinate.

For this tutorial we will use a floor plan image with the following coordinate table:

floor plan details to use as background image in tableau

How to use a custom background image in Tableau in 4 steps

Step 1: Prepare your image and find its pixel dimensions

You need to know the exact pixel width and height of your image because those numbers define the axis range when you load it into Tableau.

  • On Windows: right-click the image in File Explorer, select Properties, and check the Details tab.
  • On macOS: open the image in Preview and click the i (information) icon in the toolbar.

Note these two numbers down. Our example image is 688 x 419 px.

floor plan background image Tableau

Step 2: Build and connect the coordinate table

Create a spreadsheet with one row per point you want to plot, and three columns: a name (or whatever dimension you want to label the points by), a Location X value, and a Location Y value.

If you do not yet know the exact coordinates, you have two options:

  • Trial and error: estimate where each point should land on the image (use the pixel dimensions as your guide, with 0,0 at the bottom-left corner), enter your best guess into the spreadsheet, plot them in Tableau, and refine until they sit where you want.
  • Annotate inside Tableau: enter a placeholder row (for example 1, 1) so you have something to plot, load the background image (Step 3), then right-click the spot on the image where you want a point and choose Annotate > Point. Tableau will display the X and Y values of that location. Note them down, update your spreadsheet, and refresh the data source.

The annotation method is faster and more accurate for anything beyond a couple of points.

Once you have your coordinate table ready, connect to it in Tableau as you would any other data source.

Step 3: Add the background image in Tableau

Open a new worksheet and go to Map > Background Images in the top menu. Tableau will show a list of data sources in the workbook: pick the one with your coordinate table.

Adding a backround image in Tableau

In the Background Images dialog box, click Add Image. In the Add Background Image window:

  1. Name the image something descriptive.
  2. Upload the file with the Browse button, or paste a URL if your image is hosted online.
  3. Set the X Field to your X coordinate column. Enter Left: 0 and Right: <image width in pixels>. For our example: Right = 688.
  4. Set the Y Field to your Y coordinate column. Enter Bottom: 0 and Top: <image height in pixels>. For our example: Top = 419.

Setting Y and X fields for background image

The Left and Bottom values are normally 0, unless your coordinates do not start from the origin.

In the Options tab, configure these:

  • Lock Aspect Ratio: tick this to keep the image from being stretched or squashed.
  • Always Show Entire Image: tick this so Tableau renders the full image even if your data points do not cover the whole range.
  • Only show when: optional condition to control when the image appears, useful if you have multiple images (one per floor of a building, for example).

lock aspect ratio of background image in tableau

Click OK, make sure the tick box next to your image is selected in the Background Images list, and click OK again.

select background image for tableaudashboard

Step 4: Plot the points and format the view

Back in the worksheet:

  1. Drag your X field to Columns.
  2. Drag your Y field to Rows.
  3. Drag the dimension you want to split your data by (in our example, Room) onto the Detail mark.

Your image should appear behind the marks. The points will sit at their respective X and Y coordinates.

To make the view look like a custom-mapped diagram rather than a scatter plot:

format the tableau background image

  • Remove the gridlines (right-click the view background and select Format > Lines > None).
  • Hide the headers on both axes (right-click each axis and uncheck Show Header).
  • Adjust the mark size, shape, and colour to make the points stand out. A filled circle in a contrasting colour works well.
  • Use the zoom controls to crop the view to the most important area of the image.

For dashboards that combine this view with other charts, our guide on Tableau dashboard layout containers explains how to keep everything aligned cleanly.

For more advanced mapping techniques like layering multiple sets of marks on the same canvas, see our guide to Tableau Map Layers.

Frequently Asked Questions

What is a custom background image in Tableau?

A custom background image in Tableau is any image (PNG, JPEG, or URL-linked) loaded behind a worksheet's marks. You then plot data points on top of it using X and Y pixel coordinates, treating the worksheet as a scatter plot with the image as its canvas. Common use cases include floor plans, equipment diagrams, sports fields, and site maps.

How do I find X and Y coordinates for points on a Tableau background image?

The fastest method is to load the image with a placeholder point, then right-click the spot on the image where you want a point and choose Annotate > Point. Tableau will display the exact X and Y coordinates of that location. Note them down, add them to your data source, and refresh.

Why is my background image not showing in Tableau?

The most common causes are: the X and Y fields are not on Columns and Rows, the tick box next to the image is not selected in the Background Images list, or your data points fall outside the X and Y range defined for the image. Check all three.

Can I use multiple background images on the same Tableau worksheet?

Yes. Add each image in Map > Background Images, then use the Only show when condition in the Options tab to tie each image to a filter value. This is how floor-plan dashboards swap between floors based on user selection.

Conclusion

Custom background images turn Tableau into a flexible canvas for any kind of spatial data, not just geographic. Floor plans, equipment diagrams, stadium charts, warehouse layouts: anything you can photograph or render can become a Tableau map. The trick is remembering that under the hood, you are just building a scatter plot with an image behind it, which means anywhere you can identify with X and Y coordinates, you can plot data.

If you want help applying these techniques to a real dashboard, get in touch with the Biztory team and we will help you build it.

Facts & figures

About client

Testimonial

Blogs you might also like

Parameters vs Filters in Tableau:
Arrow icon darkArrow icon dark

Parameters vs Filters in Tableau:

Learn the difference between parameters and filters in Tableau, and how to mask a parameter as a date filter to compare current and previous year data.

BI & Analytics
Blog
Tableau
How to Create an Interactive Calendar in Tableau
Arrow icon darkArrow icon dark

How to Create an Interactive Calendar in Tableau

Learn how to create an interactive calendar in Tableau in 4 steps using a date scaffold and Set Actions. Step-by-step tutorial with calculations.

BI & Analytics
Blog
Tableau
How to sheet swap in Tableau in just 5 steps
Arrow icon darkArrow icon dark

How to sheet swap in Tableau in just 5 steps

Learn how to sheet swap in Tableau in 5 steps. Dynamically show/hide worksheets using parameters, save dashboard space, and fix common issues.

BI & Analytics
Blog
Tableau
Tableau Custom Number Formatting
Arrow icon darkArrow icon dark

Tableau Custom Number Formatting

Master Tableau custom number formatting with copy-paste examples. Learn the syntax for positive, negative & zero values.

BI & Analytics
Blog
Tableau
Introducing Autom8: Automated workflows from within Tableau
Arrow icon darkArrow icon dark

Introducing Autom8: Automated workflows from within Tableau

Autom8 is here. Trigger workflows, sync data, and act on insights — all without ever leaving your dashboard.

BI & Analytics
Blog
Autom8
Tableau's order of operations
Arrow icon darkArrow icon dark

Tableau's order of operations

Learn more about Tableau's order of operations: or what happens when and how. Read the full blog here.

BI & Analytics
Blog
Tableau
Tableau Next features: the complete guide
Arrow icon darkArrow icon dark

Tableau Next features: the complete guide

Learn about the different features in Tableau Next and how they drive faster decision-making.

BI & Analytics
Blog
Tableau
5 Ways to Level Up Your Bar Chart Using Tableau Parameter Actions
Arrow icon darkArrow icon dark

5 Ways to Level Up Your Bar Chart Using Tableau Parameter Actions

Tableau Parameter Actions are a great feature in Tableau. Read all about it in our latest blog.

BI & Analytics
Blog
Tableau
Everything you need to know about Tableau Certifications
Arrow icon darkArrow icon dark

Everything you need to know about Tableau Certifications

Thinking of taking one of the Tableau Certifications? We explore how to get ready in our latest blog. Read all about it here.

BI & Analytics
Blog
Tableau
Personalise your Tableau Dashboard with Custom Titles
Arrow icon darkArrow icon dark

Personalise your Tableau Dashboard with Custom Titles

Learn about how to add the personal touch to your Tableau Dashboard with custom titles.

BI & Analytics
Blog
Tableau
Bar Charts: The Good, the Bad, and the Ugly
Arrow icon darkArrow icon dark

Bar Charts: The Good, the Bad, and the Ugly

Why can bar charts be effective and how to use them to get answers easier, and faster!

BI & Analytics
Blog
Tableau
How to create a waterfall chart in Tableau
Arrow icon darkArrow icon dark

How to create a waterfall chart in Tableau

Learn how to create your own waterfall charts in Tableau Desktop by following these steps.

BI & Analytics
Blog
Tableau
The Ultimate Guide to Embedded Analytics
Arrow icon darkArrow icon dark

The Ultimate Guide to Embedded Analytics

Discover what embedded analytics is all about and how it can drive additional revenue streams for your business.

BI & Analytics
Blog
ThoughtSpot
How to label pie charts in Tableau
Arrow icon darkArrow icon dark

How to label pie charts in Tableau

Learn more on how to label pie charts in Tableau like a pro.

BI & Analytics
Blog
Tableau
How to label bar charts in Tableau
Arrow icon darkArrow icon dark

How to label bar charts in Tableau

Learn how to label bar charts in Tableau like a pro and level up your dashboard design. Read the full article here.

BI & Analytics
Blog
Tableau
How to create a donut chart in Tableau
Arrow icon darkArrow icon dark

How to create a donut chart in Tableau

Looking to create a donut chart in Tableau? Read our in-depth guide on how to level up your donut charts in Tableau here.

BI & Analytics
Blog
Tableau
How to ace your ThoughtSpot certifications?
Arrow icon darkArrow icon dark

How to ace your ThoughtSpot certifications?

Learn more about ThoughtSpot certifications and how to ace your exams.

BI & Analytics
Blog
ThoughtSpot
How to stop marks being highlighted when ‘clicked’ in Tableau
Arrow icon darkArrow icon dark

How to stop marks being highlighted when ‘clicked’ in Tableau

Learn how to stop marks from being highlighted when clicked in Tableau.

BI & Analytics
Blog
Tableau
How to Create Multiple Select Parameters in Tableau
Arrow icon darkArrow icon dark

How to Create Multiple Select Parameters in Tableau

Learn how to create multiple select parameters in Tableau to add more control and interactivity to your analysis.

BI & Analytics
Blog
Tableau
How to apply conditional formatting to tooltips in Tableau
Arrow icon darkArrow icon dark

How to apply conditional formatting to tooltips in Tableau

Learn how to apply conditional formatting to tooltips in Tableau with our step-by-step guide. Improve your data visualization skills today with Biztory.

BI & Analytics
Blog
Tableau
Rediscovering Business Intelligence with Sigma Computing
Arrow icon darkArrow icon dark

Rediscovering Business Intelligence with Sigma Computing

Discover how Sigma Computing is reshaping the BI landscape with its user-friendly interface and powerful capabilities.

BI & Analytics
Blog
Sigma
Sigma Computing: Our Favourite Features
Arrow icon darkArrow icon dark

Sigma Computing: Our Favourite Features

Discover our favourite features of Sigma for powerful and fun data analysis.

BI & Analytics
Blog
Sigma
Tableau vs. Power BI: Everything to know
Arrow icon darkArrow icon dark

Tableau vs. Power BI: Everything to know

Compare Tableau and Power BI to determine the best business intelligence tool for your needs.

BI & Analytics
Blog
Tableau
Tableau Map Layers: Getting Started (1/3)
Arrow icon darkArrow icon dark

Tableau Map Layers: Getting Started (1/3)

Learn how to leverage Tableau's Map Layers feature to create complex visualizations.

BI & Analytics
Blog
Tableau
Tableau Map Layers: Pull everything into one view (3/3)
Arrow icon darkArrow icon dark

Tableau Map Layers: Pull everything into one view (3/3)

Use Tableau Map Layers to combine multiple visuals in a single worksheet and create custom dashboard views for enhanced data visualization.

BI & Analytics
Blog
Tableau
Tableau Map Layers: Building Different Charts (2/3)
Arrow icon darkArrow icon dark

Tableau Map Layers: Building Different Charts (2/3)

Learn how to create Pie, Doughnut, Line, and Area charts using Tableau Map Layers.

BI & Analytics
Blog
Tableau