Not able to visualize percentage on pie using vega

You can use the Elasticsearch normalize pipeline agg to do this, or you can calculate it in vega