ComeçarComece de graça

Alternative ways to visualize a graph: Hive plots

Another method you can use to visualize graphs are hive plots. These visualize points along a set of axes that are defined by categories of data. The position on the axis is determined by a feature of the graph like centrality and edge width, and color can be set by graph properties. Unlike hairball plots, hive plots layout is determined by properties of the graph. It makes comparing and interpreting the visualization easier than other approaches. In this exercise, we’ll visualize some of the bike data by assigning each vertex to an axis by its geography (north, central, southern). Vertices are aligned by centrality, and then colored in a heat map by geographic distance. This is why we see more red lines (far distance) on vertices at the end of the axis (greater centrality).

Este exercício faz parte do curso

Case Studies: Network Analysis in R

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Convert trip_df to hive object using edge2HPD()
bike_hive <- ___(___, axis.cols = rep("black", 3))
Editar e executar o código