Vega Force-Directed Network

A force-directed network where nodes repel and links attract — the layout settles so connected nodes stay close while clusters push apart. This template runs a deterministic Fruchterman-Reingold relaxation in JavaScript before Vega renders, then draws nodes as colour-coded `symbo

Template details

  • chart
  • network
  • force
  • graph
  • vega

When to use this template

This visualization excels at revealing the structure and connectivity within complex systems. Analysts use it to identify communities, central entities, and pathways between them, making it ideal for understanding how individual components relate and form larger patterns. It helps in spotting influential nodes or isolated groups that might otherwise be overlooked in tabular data.

  • Datasets with distinct entities and explicit relationships between them.
  • Node data including categorical attributes for grouping or coloring.
  • Edge data specifying source and target identifiers for connections.
  • Graphs with hundreds to a few thousand nodes for optimal readability.
  • Data where the network structure itself is the primary insight.
  • Entities with additional numerical or categorical properties for visual encoding.

Browse all Koan templates