Connect Points on a Map with Dynamic Lines

Connect points on a map using a dynamic line map layer type to quickly visualize the connections.

Use defined origin attribute columns as start nodes and defined destination attribute columns as end nodes to create the dynamic lines.

For example, to generate dynamic lines between a source airport and all of its destination airports, you might use attribute columns called Source Airport Latitude and Source Airport Longitude as the start nodes and destination attribute columns called Target Airport Latitude and Target Airport Longitude as the end nodes.
Description of maps_dynamlines_example_latlong.png follows
Description of the illustration maps_dynamlines_example_latlong.png

This tutorial explains how to show connections between source and destination airports using a dynamic lines map layer and latitude and longitude coordinates: Tutorial icon Tutorial

  1. On the Home page, hover over a workbook, click Actions, then select Open.
  2. In the Visualizations pane, drag the Map visualization Map visualization icon to the canvas.
  3. In the Grammar pane, beside Layer 1, click Layer options, click Layer Type, and select Dynamic Line.
    The new layer shows the Category (Start Node) and Category (End Node).

  4. In the Data pane, drag origin and destination attributes to Category (Start Node) and Category (End Node).

  5. Drag an origin or destination attribute to Color to make the lines easier to distinguish.
  6. Click Properties, then click Layers Map layers icon.
  7. In the Size row, click 8 and use the slider to reduce the line size for readability.
  8. From the Data pane, drag an origin or destination attribute to the filter bar to focus the data shown in the map.
  9. Click Save.