Skip to main content

Force-Directed Graph

Microsoft Corporation
Force layout diagram with curved path. Useful to show connections between entities

The ability to visualize the relationship between items, the weightage of the relationship and the flow often brings out the untold insights into limelight, which are otherwise not very evident. Simple numbers and basic charts won’t be enough to discover and tell such data stories. We need new visualization techniques for the complex world of relationship and Force-Directed Graph thrives to the forefront for such scenarios.

This custom visual implements a D3 force layout diagram with curved paths. The thickness of the path represents the weight of the relationship between the nodes.

Since the relationship and interconnection between large set of entities could be very complex, the visual positions the nodes in such a way that there are few crossings as possible, making the exploration experience easy, fun. The visual also produces the layout which is overall pleasing to the eyes for large data sets. Users can also adjust the layout manually by simply dragging the nodes around.

Ideally you would need two dimensions and one measure (for the weightage) to use with this visual. But this also works just with a single column.

This is an open source visual. Get the code from GitHub: https://github.com/Microsoft/PowerBI-visuals-ForceGraph

Add-in capabilities
When this add-in is used, it
  • Can read and make changes to your document
  • Can send data over the Internet
  • https://az158878.vo.msecnd.net/marketing/Partner_21474836617/Product_42949680584/Asset_bc802df4-bddf-4671-baa8-4b1043780e3b/ForceDirectedGraphscreenshot1.png
    /images/videoOverlay.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474836617/Product_42949680584/Asset_bc802df4-bddf-4671-baa8-4b1043780e3b/ForceDirectedGraphscreenshot1.png
    /images/videoOverlay.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474836617/Product_42949680584/Asset_bc802df4-bddf-4671-baa8-4b1043780e3b/ForceDirectedGraphscreenshot1.png
    https://az158878.vo.msecnd.net/marketing/Partner_21474836617/Product_42949680584/Asset_6636fbde-cc0d-4826-a9f8-fcb083784649/ForceDirectedGraphscreenshot2.png