Interactive Relationship Mapping: Untangling the Mess
Tom Becker is a Senior Consultant at PA Consulting. Views are his own. He does not profess to have any Lord of the Rings expertise.
On a recent assignment, I wanted to help client stakeholders understand how a set of over 90 different business activities fed into one another. I was aiming for a clear, visual map of the activities and the connections between them. This post explains the solution I used, available to anyone with access to Power BI.
I knew I wanted to:
I ended up using the Force-Directed Graph visualisation in Power BI. It's a tool that could help anyone produce large, complex relationship maps without the need for coding.
Here I've used relationships between Lord of the Rings characters to illustrate how I used the tool. Is Frodo really at the centre of this complex web? (Short answer: yes.)
If you've got the raw data to hand, the Force-Directed Graph visual will let you create a basic relationship map within minutes. With a little more work behind the scenes, you can produce an interactive map capable of being filtered for different audiences.
No doubt paid-for software or a more bespoke tool produced from scratch could provide greater functionality and customisation. But to start generating useful relationship maps quickly and using existing Power BI tools, have a look through the steps below.
Step one: Create the raw data
First we need the raw data to generate the visualisation. One approach that can help identify interations between entities is to use an N-squared chart.
The individual entities you want to identify relationships between run diagonally through the grid, top-left to bottom-right.
Outputs from one entity (marked on the horizontal) provide inputs to another entity (marked on the vertical). E.g. An output from Aragon is an input to Frodo in this example.?
The completed N-squared chart shows directional relationships between characters (e.g. Aragon influences Frodo).
This data needs to be in table format for Power BI to read it.
The table opposite reflects the interactions identified in the N-squared chart above. I automated conversion of the N-squared chart into table format in Excel - worth doing if you're working with a large number of relationships.
Iteration 1: Basic visual and functionality
Reading the tabular data into the Force-Directed Graph visual in Power BI initially produces the visual opposite, showing directional relationships between the characters.
The visual already includes some functionality, such as highlighting connections by hovering over any one of the nodes.
Iteration 2: Colour-coded connections
The visual allows you to colour-code the connections between nodes by defining the "link type".
To do this, I added an extra column to the table of character interactions to show whether the influence of one character on another was positive or negative.
领英推荐
I only used two categories (postive / negative) to colour-code the links on the visual - you could use more. Note that colour-coding the links removes the highlight functionality illustrated in iteration 1.
Iteration 3: Filter by character
I wanted to be filter the visual by one or more character; to see all the connections to/from the specific character(s) I was interested in.
Without some work behind the scenes, you can only filter for connections going from or to selected characters, not both. We effectively want to be able to filter by two columns ('From' and 'To') in our data table at the same time.
The solution involves a few steps:
This article explains the approach in more detail.
With that behind the scenes work done, I could create a slicer in Power BI that filters the relationship map using the newly created Slicer table. This shows all the connections both to and from the character(s) I'm interested in.
Sharing the visual
Power BI reports can be published on Sharepoint pages (depending on your Power BI licence) for a defined audience to view and interact with.
Publishing on Sharepoint means your audience can use the interactive features of the Force-Directed Graph visual and will always be looking at the most up-to-date version you choose to publish.
Further options
Link weighting
The visual includes the option to weight links between entities. A higher weighting is represented by a thicker line. This could be useful in mapping strength of relationships between stakeholders, for example.
Node weighting
The Force-Directed Graph visual automatically sizes the nodes in the visual based on the number of links to/from each node. I haven't found any options for adjusting this setting.
Node image
The visual gives the option to represent nodes using images. I haven't tested that feature, but you could use it to represent groups of nodes using different images (e.g. Elijah Wood's face for hobbits and Sean Bean for human characters).
Filter by groupings
If the entities you're mapping fall into distinct groups (e.g. stakeholders that sit in different departments within an organisation), you could add the option to filter the visual to only show entities within a specified group.
This would require a variation of the steps under iteration 3 above - I'm yet to give that a go.
I'm no Power BI pro, but increasingly interested in how existing tools available many organisations can be applied and leveraged. If you have any expert Power BI tips, I'm all ears.
Global Head of Data Science at PA Consulting
2 年great article Tom!
Associate Director, Steer
2 年Nice. My team (until recently) have used similar tools and approaches to visualise interfaces and dependencies between projects and programmes across portfolios. The data is more complex of course but there’re thoughts in here about being able to simply and clearly visualise the criticality of the interface vs. the maturity of the management arrangements. As always the key is the quality of the data and the human intelligence behind it, and the value in driving the rigour and completeness of the mapping. Thanks for sharing this, it’s a great spark.
Love this Tom! To quote a great... stay ingenious :)
A wireless technology consultant with a perpetual passion for the increasing role of technology in our connected digital world.
2 年I feel inspired to try this out. ????
Portfolio NED, Adviser, Consultant ★ Helping boards and their organisations make better decisions for a more sustainable future ★ Leadership | Governance | Strategy & Planning | ESG ★ CMgr FCMI | ChPP | FCILT | Cert IoD
2 年Looks like this has potential for major project stakeholder influence network mapping as it shares similarities with military human terrain analysis of 10+ years ago. If national infrastructure planners understood the human terrain of their projects as well as their construction terrain, greater efficiencies could be achieved.