Trying to vizualize "top N/ordered" ratios

Thank you very much for taking the time to answer.

Following this post:
As I still need to spot our institutions in need, I decided to write an elasticsearch query, and I am not looking to visualize the answer.
How to parse ES json output. Scripting, re-indexing, other suggestion?