diff --git a/superset-frontend/plugins/plugin-country-map-pie-chart/src/PluginCountryMapPieChart.tsx b/superset-frontend/plugins/plugin-country-map-pie-chart/src/PluginCountryMapPieChart.tsx index 9e0a2d2b3df9f..543958bf6d4ea 100644 --- a/superset-frontend/plugins/plugin-country-map-pie-chart/src/PluginCountryMapPieChart.tsx +++ b/superset-frontend/plugins/plugin-country-map-pie-chart/src/PluginCountryMapPieChart.tsx @@ -340,8 +340,8 @@ export default function PluginCountryMapPieChart( div .html(`${ d.data.pie_detail }: ${ d.data['SUM(count_vin)'] }`) .style('opacity', 1) - .style('left', `${ d3.event.pageX - x}px`) - .style('top', `${ d3.event.pageY - y - 130}px`); + .style('left', `${ d3.event.pageX - x + 5}px`) + .style('top', `${ d3.event.pageY - y - 5}px`); }) .on('mouseout', function () { div.html('').style('opacity', 0);