project 3
This visualization displays the content of a single threat analysis document (ID 42) with named entities highlighted according to their type. The interface, built with D3.js v6, shows a plain-text intelligence report about the arrest of Omar Bakri Qatada, where each annotated entity (person, location, organization, date, etc.) is color-coded based on a label configuration file. The code uses XMLHttpRequest to load the label configuration and corpus data, then constructs the document view by dynamically creating HTML elements to render the text with its entity highlights.