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:
What is metadata? Metadata is structured information that describes various data sources and files, which can be managed and reused within jobs. Why is metadata used? Creating metadata is a Best Practice because it simplifies setting up connections and accessing […]
On April 18 we organized a private event btProvider & Vertica by OpenText titled “AI and Analytics”.
It was a private event dedicated to Data enthusiasts eager to explore the innovations of Analytics and Artificial Intelligence.
Pace charts are an alternative to bullet graphs that normalize progress-to-goal visualizations across KPIs, even when these KPIs have different data formats, scales, and/or seasonal trends. They are useful for providing an apples-to-apples, pace-to-goal comparison in businesses with KPIs spanning […]