Skip to main content
100%

Expandable Menu

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Dec 30, 2011

The expandable menu displays a two-level, nested list using HTML elements. Clicking a top-level item reveals its associated sub-items. The visualization uses a static dataset defined in code, containing two parent objects with name and links properties. The implementation utilizes the D3.js v3 library to bind the data to list items and manages the expand interaction via the `d3.select` API and the `on("click", expand)` event handler, appending a new nested `<ul>` on demand.

AI-generated description
gpl-3.0 Licensed

Similar vizzes