Skip to main content
100%

Force-Directed Graph IT Fork Test

✓ Published0🌍 Public
VVonBrank
Last edited Apr 8, 2023
Created on Apr 8, 2023

This example visualizes IT infrastructure dependencies as an interactive force-directed graph, with applications as nodes and their interfaces as links. The graph is rendered as SVG circles and lines, with node labels displayed alongside each circle. The code uses `d3.forceSimulation` with `forceManyBody`, `forceLink`, `forceCenter`, and `forceCollide` to position elements, while `d3.drag` enables interactive node dragging. It loads node and link data from separate CSV files (`applications.csv` and `interf.csv`), with links defined by named source and target accessors.

AI-generated description

Creating a force-directed graph, based on data of two csv-files.

Sources: - Scatter Plot: https://www.youtube.com/watch?v=xkBheRZTkaw&t=37528s

Text, Color, Drag: https://youtu.be/y7DxbW9nwmo?t=1696

Filter:

open issues:

  • count number of links -> change force (number of links > 1 -> push appart / number of links < 1 -> force together)
  • add arrows to links
  • change interf.csv (wrong source data for filters)
  • add filter options
MIT Licensed

Similar vizzes