api-kg
✓ Published0🌍 Public
This interactive knowledge graph visualizes a film dataset, showing connections between actors, directors, and their movies. The graph uses colored nodes and directed, labeled edges to represent relationships like "Acted in" and "Directed". Built with D3.js, the visualization uses `d3.forceSimulation` for physics-based layout, with forces for links, charge, collision, and centering. Users can pan and zoom, while nodes are draggable. The code loads its data from a JSON file, which contains the nodes and links, and the graph is rendered as SVG elements, with arrowheads defined using SVG markers and relationship labels placed along curved paths.
AI-generated descriptionMIT Licensed