I am currently trying to work out a way of binding an SQL datasource to a pie chart which has been created using VB.

From the information I've found so far, apparently I will need to do this using JSON, but all of the examples I have come across only show me how to manually add the data into my code. I just need to find a way to connect the datasource to the JSON which is already in the code

I've looked everywhere for a way to do this, and I dont seem to be getting anywhere!

I don't want to carry on with what I'm doing to find out that its not possible! If there is a way to do it, any help would be much appreciated.
Thanks in advance!