Back to feed
Dev.to
Dev.to
5/10/2026
NexusGraph — Transform Any Text into a Stunning AI Knowledge Graph (Gemma 4 + D3.js)

NexusGraph — Transform Any Text into a Stunning AI Knowledge Graph (Gemma 4 + D3.js)

Short summary

NexusGraph transforms any text into interactive, force-directed knowledge graphs by extracting entities and relationships using Gemma 4 31B, then visualizing them with D3.js. The tool streams nodes and edges one-by-one for animation, supports exploration of specific nodes with Gemma 4, and lets users ask natural language questions. A fully functional live demo is available with built-in examples.

  • Uses Gemma 4 31B for entity extraction and relationship mapping from any text
  • Real-time streaming visualization with D3.js force-directed graphs and click-to-explore interactivity
  • Includes natural language Q&A about the graph and PNG export, with live demo available

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more