Network chart

logo of a chart:Network

A Network diagram (or chart, or graph) show interconnections between a set of entities. Each entity is represented by a node (or vertices). Connection between nodes are represented through links (or edges). This section mainly focuses on NetworkX, probably the best library for this kind of chart with python.

Network diagram with the NetworkX library

NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks..

The examples below will guide you through a migration dataset already discussed in data-to-viz.com. It starts by describing the input dataset and the basic usage of the Chord() function.




A common need when dealing with network charts is to map a numeric or categorical variable to the nodes or edges appearance. This is totally doable and adds some insight to the figure.

Network diagram with graph-tool

The graph tool library is a python library implemented in C++. It makes it highly efficient to draw networks containing many nodes. Graphics to come.

🚨 Grab the Data To Viz poster!


Do you know all the chart types? Do you know which one you should pick? I made a decision tree that answers those questions. You can download it for free!

    dataviz decision tree poster