Bar chart with % of different values in grafana. How?

Hello everybody, Im trying to create a visualizacion in grafana like this:

the datasource is elasticsearch and I making a count of documents of diferents values in tag field.
thanks
diego