WCS GameHeart mod is the only map/mod I'm aware of that uses this frame. Would be probably useful to analyze it and make actual example map. As there's very little information regarding it.
This is one of use cases:
As far as API goes, here's list of UI frames for building graphs:
To provide data sets it seems you need to use this function: