Represent Line Data Using Size and Color on a Map

You can represent the weight of line data through thickness and color in a map visualization.

You can associate a measure with the Size edge to indicate the relative weight of a line. For example, to compare delays in airline routes, you can display flight routes with varying line thickness, where a thicker line and a darker color correspond to a higher number of delays.
  1. Create or open the project with a map visualization that contains line data and confirm that you're working on the Visualize canvas.
  2. Select the map visualization that displays the line data.
  3. Drag and drop a column containing line data (for example airline routes) from the Data Panel to the Category (Geography) edge on the Grammar Panel.
  4. Drag and drop a line measure column from the Data Panel to the Size edge and optionally to the Color edge on the Grammar Panel.
    The map visualization automatically updates based on your selection and overlays the previous layer.