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.
- Create or open the project with a map visualization that contains line data and confirm that you're working on the Visualize canvas.
- Select the map visualization that displays the line data.
- 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.
- 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.