inst/examples/shiny/linked_scale/Readme.md

Shiny application for linked interactive legend

Hover and selection are linked between legend keys and geometry points using opts_hover(linked = TRUE) and opts_selection(linked = TRUE). Clicking a legend key selects the corresponding points and vice versa. A summary of the selection is rendered.



Try the ggiraph package in your browser

Any scripts or data that you put into this service are public.

ggiraph documentation built on Feb. 17, 2026, 9:07 a.m.