Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Mind Map (adding the context menu with d3)

Public visualization

Viewing a saved revision (read-only)

f0fbd27b18ee46cc98f3964e01b3135d

Fork of Fork of Mind Map (adding the context menu with d3)

0 stars0🌍 Public
Ssonakshi
Last edited Jul 28, 2021
Created on Jul 28, 2021

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 description

This is a description using Markdown.