How calculator or convert the analytics data of MetricKit to Xcode Organizations charts?

I have integration the MetricKit to my project, and had collected the analytics data of MetricKit already, but I'am don't how to convert it to the Chart. Are there some document introduce how to convert the rawData of MetricKit to the chart, such as the power consumption percentage of the app.

The Xcode organization tool could show the MetricKit chart, but it not, but this doesn't tell us how to convert MetricKit's rawData to chart

How calculator or convert the analytics data of MetricKit to Xcode Organizations charts?
 
 
Q