Skip to main content
Public

Share visualization

Loading preview…

3-27-2022 rework

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

3-27-2022 rework

0
CConnor Trump
Last edited Apr 23, 2022
Created on Mar 27, 2022
Forked from Face

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 description

Comments

Sign in to join the discussion.

MIT Licensed