How to get data from back for our new chart

@flamber
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 https://github.com/metabase/metabase/issues/2318#issuecomment-206026183 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.