Fork of Fork of Mind Map (adding the context menu with d3)
✓ Published0🌍 Public
Ssonakshi
Last edited Jul 28, 2021
Created on Jul 28, 2021
Forked from Fork of Mind Map (adding the context menu)
This example shows a hierarchical mind map exploring Leonardo da Vinci and related figures, with a custom context menu that appears on right-click. The tree layout is built using D3 v3’s `d3.layout.tree`, rendering nodes as SVG rectangles and links as paths, with data loaded from a JSON file. The context menu is implemented with D3 selections, dynamically sized based on text measurement, and uses mouse events for hover styling and dismissal. The visualization also supports zoom and drag via `d3.behavior.zoom`, and includes tooltips and animated updates.
AI-generated descriptionThis is a description using Markdown.
MIT Licensed