> ## Content Index
> Fetch the complete content index at: https://www.vizney.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Drawing Origin–Destination Paths in Tableau
- URL: https://www.vizney.com/drawing-origin-destination-paths-in-tableau/
- Published: 2025-08-14T08:21:18.000Z
- Updated: 2025-08-14T08:21:18.000Z
- Author: Yehwan Hwang
- Tags: Tips & Tricks

In Tableau’s map charts, you can not only visualize the locations of individual points but also draw connecting lines between them. This feature is particularly useful for showing relationships between countries or visualizing movement paths between locations. However, it requires that you have the latitude and longitude information for each point.

💡

It is not possible to represent such paths using only Tableau’s geographic roles.

In this post, we’ll demonstrate how to visualize the path from an origin to a destination using U.S. tariff data, a topic that continues to generate global interest. The dataset used here contains reciprocal tariff figures announced by the White House on July 31.

[Further Modifying the Reciprocal Tariff RatesBy the authority vested in me as President by the Constitution and the laws of the United States of America, including the International Emergency![](https://kr.vizney.com/content/images/icon/apple-touch-icon.png)The White HouseExecutive Orders![](https://kr.vizney.com/content/images/thumbnail/WH47-Presidential-Actions-Social-Share-Card.jpg)](https://www.whitehouse.gov/presidential-actions/2025/07/further-modifying-the-reciprocal-tariff-rates/?ref=vizney.com)

### Step-by-Step: Drawing Origin–Destination Paths

1. **Prepare your data** so that each row contains both the origin and destination’s latitude and longitude. The origin and destination information must be in the same row.

![](https://kr.vizney.com/content/images/2025/08/Prepare-Data.jpg)

1. **Create fields using the `MAKEPOINT` function** to generate coordinates for the origin (Origin) and destination (Destination) based on their latitude and longitude values.

![](https://kr.vizney.com/content/images/2025/08/Origin.jpg)

![](https://kr.vizney.com/content/images/2025/08/Destination.jpg)

1. **Use the `MAKELINE` function** to create a field that connects the two points—origin and destination.

![](https://kr.vizney.com/content/images/2025/08/Line.jpg)

1. **Double-click the created `Line` field** to add it to the sheet. To distinguish each line as a separate object, add the Origin Country field to the Detail shelf.

![](https://kr.vizney.com/content/images/2025/08/Add-Line-1.jpg)

1. **Add the two `MAKEPOINT` fields** (origin and destination) to the marks layer to help differentiate between the two points.

![](https://kr.vizney.com/content/images/2025/08/Add-Origin.webp)

1. **Add the tariff data by country** to the Color shelf and enable labels to complete the chart.

![](https://kr.vizney.com/content/images/2025/08/Result.jpg)

💡

If the dataset contains too many points to display effectively, use filters to allow users to focus on specific parts of the data.