Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Menu

Public visualization

Viewing a saved revision (read-only)

c12087f269a247acadac445684f348ef

Menu

0 stars0🌍 Public
KKhatera Alizada
Last edited Mar 18, 2023
Created on Mar 18, 2023
Forked from Menu

This visualization demonstrates a simple pet-selection menu built with D3 v7. It uses a drop-down select element to choose from six animal options, with the current value managed through a state object and `setState` function. The menu implementation uses D3's `selectAll` and `join` APIs to efficiently update the DOM, while the `viz.js` module initializes the default selection to 'hamster' and renders the interface.

AI-generated description