How to Visualize Hierarchical Graphs in R, with ggraph and tidygraph
Network graphs are a good way to find structure and relationships within hierarchical data. Here are several ways to do it.
Working with network graph data requires different reasoning and tools than working with tabular data. In tabular data, each each row in the table represents a feature, while in graph data two types of features exist: the nodes of the network, and the edges, which describe the relationships between the nodes.
To access this full tutorial, you must be a member. (If you are already a member, log in here.)
Get instant access to this tutorial and hundreds more, plus courses, guides, and additional resources.
You will get unlimited access to step-by-step visualization courses and tutorials for insight and presentation — all while supporting an independent site. Files and data are included so that you can more easily apply what you learn in your own work.
Learn to make great charts that are beautiful and useful.
Members also receive a weekly newsletter, The Process. Keep up-to-date on visualization tools, the rules, and the guidelines and how they all work together in practice.
See samples of everything you gain access to:
More Tutorials See All →
How to map connections with great circles
There are various ways to visualize connections, but one of the most intuitive and straightforward ways is to actually connect entities or objects with lines. And when it comes to geographic connections, great circles are a nice way to do this.
How to Draw in R and Make Custom Plots
When base graphics and existing packages don’t do it for you, turn to low-level graphics functions to make what you want.
How to Make a US County Thematic Map Using Free Tools
There are about a million ways to make a choropleth map. The problem is that a lot of solutions require expensive software or have a high learning curve. It doesn’t have to be that way.