Histogram with third data field for tracing? (ElasticSearch)e

Currently using the latest version of Grafana with data coming from ElasticSearch and super new to dashboarding. Let me explain the problem I’m trying to solve:

I have three data fields within each data entry I’m working with. Let’s call them name (of a certain trial), id (for tracing), and time (total time it takes).

Right now I plotted a histogram where the sum time of each name (there can be multiple entries with the same name) falls into a bucket within the histogram depending on the sum time.

Ideally I would be able to hover over a bucket and see a list of ids so I can trace the particular trial. Is there a way I can do this in Grafana, and if so how would I go about doing it?