Visualize the distribution and spatial structure of travel times between census tracts and polling stations.
Usage
plot_travel_times(
result,
type = c("histogram", "heatmap", "map"),
tract = NULL,
...
)Details
"histogram": Distribution of all travel time values. Annotates the maximum value (potential fill value for unreachable pairs)."heatmap": Travel time matrix as a tile plot, with tracts ordered by latitude of their centroid. Reveals spatial locality."map": For a selected tract, overlays station points colored by travel time from that tract.