You can create maps in Tableau Desktop that show paths between origins and destinations. These types of maps are called spider maps, or origin-destination maps.
Spider maps are helpful when working with hubs connecting to many surrounding points. They are an excellent way to show the path between an origin and one or more destination locations.
→ In this example, the data source needs to contain both Longitude and Latitude fields for the origins and the destinations. In other words, the data source must contain two longitude fields (one for origin and one for destination), and two latitude fields (one for origin and one for destination)
→ In Tableau Desktop, connect to your data source
We need to create a total of three calculated fields to build our map:
→ A Makepoint Origin Field to map the origin point on a map: MAKEPOINT([Origin LATITUDE],[Origin LONGITUDE])
→ A Makepoint Destination Field to map the destination point on a map: MAKEPOINT([Destination LATITUDE],[Destination LONGITUDE])
→ A Makeline field to create a line between the previously created points: MAKELINE([MAKEPOINT_Origin],[MAKEPOINT_Destination])
→ Drag the new Makeline calculation onto Detail to view the map
→ (Optional) Change the Line colour and Map layers as desired
Watch the video tutorial here:
About btProvider:
We hold all possible technical and sales certifications for all products: Tableau Desktop, Tableau Public, Tableau Server, Tableau Prep, and Tableau Data Management.
With Tableau Software – the best data visualization platform – you can always understand your business or your job better. Using Tableau, you will take smart and strategic decisions and you will quickly understand the data flow, numbers and results it produces. See other #skillpill video tutorials here:
How to display multiple insights on a dashboard in #Tableau
How to create Stacked Bars on Grand Totals in Tableau
How to create a Buffer Zoom in a Tableau Map
Are you interested in learning more about Tableau Software – one of the best analytics tools and implementing the solution in the entire company? Contact us!
See how Tableau works, by downloading a free trial here:
In this Skillpill, you will learn how to use tSendMail in Talend. tSendMail is a component used to send emails directly from a Talend job. It supports various email protocols, such as SMTP, and allows the configuration of the sender, […]
🚀 Enhance Your Tableau Dashboards: How to Swap a Different View Parameter! 📊✨ Tableau is one of the most powerful tools for data visualization and business intelligence. Its user-friendly interface and rich set of features allow you to create interactive […]
In this Skillpill, you will learn how to create a Parliament Chart in Tableau. A Parliament Chart, or semicircular chart, represents the distribution of parliamentary seats. It is not a standard chart type in Tableau but can be manually created […]