3-27-2022 rework
✓ Published0🌍 Public
This visualization reworks a JSON knowledge graph of analyzed sentence events, using d3.v4 to display nodes and links in an SVG canvas. It renders the example sentence "the shark bit the surfer savagely at the beach yesterday because it was hungry" as a structured network, with nodes sized by text length and organized into labeled groups. The layout relies on force-directed simulation from the WebCola library, while canvas-derived text measurement via `ctx.measureText` tunes node dimensions. The graph distinguishes predicates, referents, and phrases, with edges showing logical dependencies.
AI-generated descriptionMIT Licensed