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:
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:
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: