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:
How to Retrieve and Process JSON Data from a REST API in Talend Are you working as a Data Engineer, and have you started using Talend? Maybe in one of your projects, you need to retrieve data from a REST […]
💡 Unlock the Power of Tableau for Smarter Data Decisions Are you ready to transform the way you see and use data? Tableau is more than just a data visualisation tool, it’s your gateway to interactive, intuitive, and impactful business […]
You are working at a Data Analytics company, and in one of your projects, you need to load data from a source into a target table using Talend. However, while running the Talend Job, the data will fail to load […]