Create interactive square pie charts

You can also use the package MosaicPlot.

See the dedicated Community post: “Mosaic plots for data visualization” .

The produced mosaic plots are not that “interactive”, they only provide tooltips.

Here is an example plot: