Creating charts real time

im creating a chat webapp where users can ask anything they want and im using chatGPT on the backend.

when the users type “create a pie chart for x” → my backend can give the data points needed.

the question now is, how to create chart from those datapoints on the weweb real time ?

here’s an example:

You’d bind the chart series to a variable(s)

When you get your response from openAI parse it, save it to the bound variable(s)

Bada bing bada boom

1 Like

i see, will try !

Slightly off topic but there is already a tool like this that does charts.

Do you mind sharing what the tools is ?

https://www.chartgpt.dev/ For example

1 Like