How to get data from back for our new chart

Can u please tell me that how can we get data from the backend if we want use it with our new component added?
Like other charts in meta base? how are they getting data from the backend?
The comment on the github repo mentions about this but how to use it. Can you share some thing.

@ayazwani If you cannot find the answer, then I think you should stop. It requires a lot of knowledge to built visualizations. I have already provided a lot links in previous topics you have created. I cannot help you.