Skip to main content
100%

Force-Directed Graph with Drag/Zoom/Pan/Center/Resize/Labels/Shapes/Filter/Highlight

✓ Published0🌍 Public
FFrissAnalytics
Last edited Nov 26, 2016
Created on Nov 26, 2016

This interactive force-directed graph displays network data with draggable nodes, zoom and pan controls, and double-click-to-center functionality. Nodes vary in size, shape, and color based on properties like score and type, with text labels that avoid occlusion. The visualization supports filtering by node shape, score, and link strength, plus hover highlighting of first-order neighborhoods and click-to-fade effects. Built with D3 v3, it uses d3.layout.force for simulation and d3.behavior.zoom, rendering as SVG with data loaded from a JSON file.

AI-generated description

Force directed Graph with:

  1. Dragable nodes
  2. Zoom and pan (with maximum effective-size limit for zoomed elements)
  3. Double-click to center node
  4. Resizable window (with zoom/pan-aware relocation of center of gravity)
  5. Text labels (which are not occluded by nodes; flag to set centered/offset)
  6. Properties determine node size and shape, and node and link colors (with default values; flag to set fill/outline).
  7. Filter nodes by shape (c,d,r,s,t,x), by score (l,h,m), if orphan (0), and filter links by score (1,2,3)
  8. Hover to highlight 1st-order neighborhood. Click to fade surroundings
  9. Read graph from json file

forked from <a href='http://bl.ocks.org/eyaler/'>eyaler</a>'s block: <a href='http://bl.ocks.org/eyaler/10586116'>Force-Directed Graph with Drag/Zoom/Pan/Center/Resize/Labels/Shapes/Filter/Highlight</a>

mit Licensed

Similar vizzes