Skip to main content
100%

Fork of Force-Directed Graph V9

✓ Published0🌍 Public
GGauppi
Last edited Oct 20, 2022
Created on Oct 20, 2022

This force-directed graph visualizes the relationships between applications in a hospital information system, using node and link data loaded from two CSV files. Nodes represent applications and links represent data interfaces between them. The example uses `d3.forceSimulation` with `forceManyBody`, `forceLink`, `forceCenter`, and `forceCollide` to position nodes, while circles and lines are rendered in SVG. Dragging is enabled via `d3.drag`, and node labels and link data are drawn from the parsed CSV rows.

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