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

# 태블로에서 출발지-목적지 경로 그리기
- URL: https://kr.vizney.com/drawing-origin-destination-paths-in-tableau/
- Published: 2025-08-14T08:21:25.000Z
- Updated: 2025-08-14T08:21:25.000Z
- Author: 황예환
- Tags: Tips & Tricks

태블로의 지도 차트에서는 각 지점들의 위치를 표현하는 것 뿐만아니라, 지점들 간의 연결선을 시각화할 수 있는 기능이 있습니다. 이는 주로 국가간 관계나 지점간 이동경로 표현에 유용하게 활용할 수 있는 대신, 각 지점의 위도와 경도 정보를 필수적으로 알고 있어야 합니다.

💡

태블로의 지리적 역할을 활용하여 경로를 표현할 수 없습니다.

전세계적으로 끊이지 않고 이슈가 되는 미국 관세 데이터를 기반으로 출발지에서 목적지로의 경로를 어떻게 표현할 수 있는지 설명드리도록 하겠습니다. 이번 포스트에서 사용하는 데이터는 7월 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://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/icon/apple-touch-icon.png)The White HouseExecutive Orders![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/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=kr.vizney.com)

### Step-by-Step: 출발지-목적지 경로 그리기

1. 출발지와 목적지의 위도, 경도가 포함된 데이터를 준비합니다. 데이터는 아래와 같이 같은 행에 출발지와 목적지 정보가 모두 포함되어 있어야 합니다.

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Prepare-Data.jpg)

1. `MAKEPOINT` 함수를 활용하여 출발지(Origin)와 도착지(Destination)의 위도(Latitude)와 경도(Longitude)에 따른 좌표를 가르키는 필드를 생성합니다.

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Origin.jpg)

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Destination.jpg)

1. `MAKELINE` 함수를 활용하여 출발지와 목적지 두 지점을 연결하는 필드를 생성합니다.

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Line.jpg)

1. 생성한 `Line` 필드를 더블 클릭하여 시트에 불러옵니다. 생성된 라인을 별도의 개체로 구분하기 위해 출발 국가(Origin Country) 필드를 세부정보에 추가합니다.

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Add-Line-1.jpg)

1. 출발 국가와 도착 국가의 구분을 돕기 위해 `MAKEPOINT` 함수를 활용해 생성한 출발지, 목적지 두 개의 필드를 마크 레이어에 추가합니다.

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Add-Origin.webp)

1. 국가별 관세 데이터를 색상에 추가하고 레이블 표시를 추가하여 차트를 완성합니다.

![](https://storage.ghost.io/c/71/f6/71f6ee37-5711-4588-b703-c29372b31c0a/content/images/2025/08/Result.jpg)

💡

데이터가 많을 경우에는 지도에 모든 정보를 표시하기 어려우므로 필터를 추가하여 사용자가 원하는 부분만을 효과적으로 조회할 수 있도록 합니다.