Is your feature request related to a problem? Please describe.
I am currently working on replacing the kibana tagcloud viz with es-charts and I want to report some gaps that exist between the two implementations that need to be addressed.
{
"smAccessorValue": "",
"groupByRollup": "Word count",
"value": 9,
"sortIndex": 0,
"path": [],
"depth": 0
}
every time I click a word. I would like to get the clicked term. This is needed because we want to trigger the filter action every time a term is clicked.. Moreover, I see that the click event is triggered everywhere and not only when I click a term. (I am fine with it as soon as no term is returned when I click on a blank space).

Kibana Cross Issues
elastic/kibana#95539
Checklist
Delete any items that are not applicable to this feature request.
Is your feature request related to a problem? Please describe.
I am currently working on replacing the kibana tagcloud viz with es-charts and I want to report some gaps that exist between the two implementations that need to be addressed.
onElementClick: I want to be able to click on a word and get the clicked value. Right now I get:every time I click a word. I would like to get the clicked term. This is needed because we want to trigger the filter action every time a term is clicked.. Moreover, I see that the click event is triggered everywhere and not only when I click a term. (I am fine with it as soon as no term is returned when I click on a blank space).
Kibana Cross Issues
elastic/kibana#95539
Checklist
Delete any items that are not applicable to this feature request.
Kibana Cross Issueslistkibana cross issuetag is associated to the issue if any kibana cross issue is present