move pie hover logic into own scope
move pie hover logic into own scope

plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,aburato/plotly.js,plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,aburato/plotly.js,etpinard/plotly.js