Skip to main content
100%

Fork of 2-13-22 Clean Sheet

✓ Published0🌍 Public
CConnor Trump
Last edited Feb 19, 2022
Created on Feb 19, 2022

This visualization renders a hierarchical knowledge graph from JSON-encoded semantic parses of sentences, showing predicates, arguments, and nested propositional structures. It uses d3.v4 with forceSimulation for layout, rendering nodes and links as SVG elements, while Canvas is used to measure text dimensions for label sizing. Nodes represent nucleus predicates, referents, and modifiers, with links connecting arguments to their cores. The example loads data via d3.json and constructs the graph by iterating through the ContextTrackingData array, handling nested clauses and referent phrases.

AI-generated description
MIT Licensed

Similar vizzes