From the course: R: Interactive Visualizations with htmlwidgets

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Choose graph layouts and embeddings

Choose graph layouts and embeddings - R Tutorial

From the course: R: Interactive Visualizations with htmlwidgets

Start my 1-month free trial

Choose graph layouts and embeddings

- [Instructor] VisNetwork is an excellent HTML widget for building interactive drawings or graph, but I think it's quite important to understand a little bit about the theory of graph drawing or the visualization of networks and how a viewer might understand them. There are many different graph layout algorithms that are used to decide how to layout nodes and the edges between them Many of these layouts are non-deterministic. Meaning that a physics simulation has been run to iteratively decide how to place nodes in the network. This means that typically graphs look different from computer to computer, and a graph will never look the same on your own computer, unless you use the exact same random seed. Many people who are unfamiliar with graph theory believe there was a correct way or particular view of a network, which best represents the data, but it's really important to note that graph layout can be misleading. I'm going to show you how to make these networks in a few minutes, but…

Contents