Displaying pictures coming from db query

I have a slackbot measuring happiness and feelings and i would like to dispays the global feeling of service in my grafana dashboard.
All the feelings are stored in a postgres db as emoticons name , and i’d like to displays the top one vote
How can i do that ?
I’ve tried querying the db but none of the panel can display the icon coming from the query.

Thx for helping