Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a rotating circular menu interface built with React and D3. The menu displays a set of items arranged radially, where each item rotates to a selected position when clicked. The selected item is highlighted with a distinct background color. The visualization uses React's `useState` hook to manage the selected index and dynamically applies CSS transforms for positioning and rotation. It imports D3 v5 through a CDN link in the HTML file, and it defines the menu styling and structure using custom CSS and React components.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed