Get startedGet started for free

BioFabric as an HTML widget

Biofabric plots are another way that you can visualize a graph without using a typical hairball approach. Instead, it lays out vertices as horizontal lines, one per row, and edges as vertical lines. When there is a connection between two vertices, a vertical line is drawn between the two vertex row lines. By default, vertices are sorted by degree, which leads to the triangular type of groupings. When using this method on large graphs, it's best to save the output as html or a pdf. The layout prevents the overlapping tangle often seen when visualizing large graphs. In this lesson we'll take the #rstats Twitter dataset and subset it into a few communities. Then we'll visualize it with ggnetwork and RBioFabric so we can get a sense of both approaches.

This exercise is part of the course

Case Studies: Network Analysis in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Make a Biofabric plot of retweet_samp
retweet_bf <- ___(___)
Edit and Run Code