Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of 2-13-22 Clean Sheet

Public visualization

Viewing a saved revision (read-only)

4ac0aec4f8274248bdbcb52939cb8482

Fork of 2-13-22 Clean Sheet

0 stars0🌍 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