GraphQL API query "Web Analytics for all sites"

I’d like to display the “Web Analytics for all sites” dashboard on my site. What is the easiest way possible? I saw the API queries the GetRumAnalyticsTopNs endpoint, is that what I should use? I couldn’t find any documentation on it (not even a single google result).

Once I have the data, what would be the easiest way to present it? Use mapbox like cloudflare does?

Related question: Downloading Web Analytics data