Skip to content

sergiemastro/NetworkViz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Network Visualisations

A repo containing python and Alteryx-python scripts that prepare data for network visualisations in Tableau. This is made to support those following a 'Tiny Viz Talk' made in March 2021 - view the talk on YouTube here. These scripts use the "networkx" package, documentation is available here.

Network Screenshot - Filtered

Instructions

To create the Network, a certain data structure is required for Tableau. The first step is to create an input dataset that matches the following criteria:

  1. It must contain a column called "Target ID" which identifies the target node, and a column called "Source ID" which identifies the source node.
  2. It must contain a column called "Name" which links each edge with both the source node and the target node.

Example Data Structure

For example, in a network representing knowledge flows among team members, if Sophie asks Andrew for advice on Database Management, the data needs to represent that link as above, with values otherwise repeated across the rows.

With this input dataset configured, you can use the python scripts shared in this repository to create the coordinates needed to plot a network chart in Tableau. The script is available both as a Jupyter notebook and as a txt to be copied into Alteryx, to accommodate your data preparation preferences.

To interact with the "final product", view an example Tableau Network Chart here.

About

A repo containing python and Alteryx-python scripts that prepare data for network visualisations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 100.0%