On-Premise GRAPHS and custom plugin

I want to use Canvas OR Some Chart Library to create Charts for visualizing some data from my API response.

This report will be visible on Dashboard of Matomo

Please help me with workable solutions. Thanks !