Arc diagram

An arc diagram is a special kind of network graph. It is consituted by nodes that represent entities and by links that show relationships between entities. In arc diagrams, nodes are displayed along a single axis and links are represented with arcs.

Arc diagram with R or Javascript

Python has only one library to build arc diagrams:arcplot. For other kind of static version, R has built-in functions to make them. Javascript and thed3.js library offers more customization and interactivity options, but comes with a steeper learning curve and a lot of line of code. Pick your flavor!

Here is an arc diagram showing the relationships between researchers. One node is drawn for each researcher having published at least one paper with my previous supervisor, Vincent Ranwez. Two researchers are linked if they co-authored at least one paper together. Read more about this dataset here.

Hover nodes for more info

See code


👋 This document is a work by Yan Holtz. You can contribute on github, send me a feedback on twitter or subscribe to the newsletter to know when new examples are published! 🔥