Skip to content

Preserve both matrix keys

wrongcolor and encodingjudgmentMunzner 2014 p. 157Munzner 2014 p. 208

How many trips went from North to East and how many went the other way?

Illustrative bike-share trips between three districts on a weekday.

“arranged in a two-dimensional matrix alignment where one key”

Tamara Munzner, "Visualization Analysis and Design", p. 157.

Also covered in Munzner 2014 (9 Arrange Networks and Trees, p. 208).

CVD preview

Before

Each district pair uses one count in both directions, so the matrix hides the difference between outbound and return trips.

Download before Python code

After

Rows identify pickup districts and columns identify drop-off districts. Every cell uses the count for that direction.

Download after Python code

Values

The matrix shows 46 trips in each direction between North and East.

North to East had 18 trips and East to North had 46.

Values used in both views
PickupDrop-offTrips
NorthEast18
NorthWest9
EastNorth46
EastWest13
WestNorth21
WestEast7