What is it for?
Use this template to visualize connections.
Nodes represent data points and links represent the connections between them and help illuminate the relationships between a group.
There are two different styles of network graphs to choose from our starting points. Directional network graph, Network graph, and Network graph with images all create a "classic" network graph layout.
You can choose between an "undirected" and a "directed" network graph. Undirected Network Diagrams only display the connections between entities. If you want to visualize the direction of the connections, you can opt for Directed network diagrams, which show if the connections are one-way or two-way through small arrows.
Have you ever wanted points to be evenly distributed in a network graph? You can achieve this with our second Radial network style. This new mode makes network graphs with many points much easier to digest and visually striking.
How to get started
There are two different sheets in the default network graph. You can switch between them by clicking on one or the other in the top left of your datasheet.
- 1
The first sheet is the Links sheet. This is the minimum data requirement: a two-column list of links. Each row in the list specifies the points (displayed as circles) at either end of a link (displayed as a line). You can optionally include a third column that is used to set the width of the link. This can be thought of as a visual indicator of the strength or weight of a link.
source target value Aemon Grenn 5 Aemon Samwell 31 Aerys Jaime 18 Aerys Robert 6 Aerys Tyrion 5
- 2
-
You can switch between Network graph and Radial network graph in the Chart type settings.
- 3
While the "Links" sheet is sufficient to create a network diagram, a second Points sheet allows for further flexibility. Rather than letting Flourish determine all the points to add to the network based on those listed in the Links sheet, the rows in the Points sheet define the complete collection of points. This sheet can also be used to assign groups (encoded using colour) and sizes to the points. Here's an example of assigning groups in the "Points" sheet:
id group Tyrion 1 Loras 1 Robert Arryn 1 Robert 1 Balon 1 - 4
-
Initially, it is assumed that the network diagram is undirected. To set your network to be directional, you can select Show arrows on links in the Links settings under the Advanced link settings options.
- 5
-
Through the Points settings, you can choose a Fill color, minimum and maximum radius of the points. Additonally, a host of opacity options are available, such as default and the opacity of the rest of the chart when one point is highlighted.
Outlines can also be extensively styled, by changing their width, color, and the highlighed color. Additionally, by switching on Advanced point settings, you can adapt their sizing through an array of options.
It is possible to scale points relative to the maximum value in your dataset, or relative to an arbirtary value, scale the points down when their is not enough space, and define the Max total point area, namely the percentage of the space the points can fill before they are scaled down.
- 6
-
For the network labels, you can style their maximum width before they are being truncated, their size, weight, as well as if they should inherit the color of the points or have a fixed one.
As far as when the labels should be displayed, you can choose between Auto, which displays the labels dynamically based on chart type and available space, All, Currently selected and neighbours, On hover or None.
- 7
-
To add a bit of flair, switch on Animate network simulation and Animate layour transitions. For those options, you can change the Animation speed and Transition duration.
- 8
-
Through the Advanced options, and specifically the Forces settings, you can change the layout of the points of the network graph.
Repulsion between points controls how strongly the points are trying to get away from each other, while collision-force-strength sets how strongly the points push away from each other when colliding.
- 9
-
Network popups do not work any differently that other Flourish templates. However, since this type of chart can be quite busy, through the popup opacity on overlap, if the popup overlaps other points and links, you can set an opacity so most of the chart is still visible.