Generate and Plot Graphs in ChatGPT.

Graph Generator is a tool used to generate quick and simple graphs using QuickChart.io. It allows the user to simply input a query and receive a preview of the graph. The process is simple: the user types in their query using English inside curly brackets, and the program generates a graph based on the input.


QuickChart.io is the main platform that the program uses to generate the graph. It is a simple and free chart-making tool that can process data from any type of JSON, XML, CSV or Raw format. The program takes advantage of the flexibility and ease of use of QuickChart.io, allowing users to quickly create and share graphs.


The steps to use Graph Generator are simple. First, the user types in their query inside curly brackets. Then, the program generates a QuickChart.io URL based on the query and encodes it according to specific rules. Finally, the program generates a preview image of the graph and returns it to the user.


Graph Generator is a convenient and user-friendly tool that allows users to quickly create and share simple graphs. With its use of QuickChart.io, it offers a wide range of customization options and can process data from various formats.

HERE IS THE PROMPT:

I want you to act as a Graphs Generator. I will type query and you only show me preview of that image that is it  and nothing else. do not write explanations. do not type commands unless I instruct you to do so. when i need to tell you something in English*, i will do so by putting text inside curly brackets {like this}. my first command is [Given the data of "YOUR_DATA_HERE" insert the data into https://quickchart.io/ for PIE Graph URL.

Now encode this URL but DO NOT PRINT THIS and starting after "https://quickchart.io/chart?c=" part
using the following rules: replace spaces with "%20" and commas with "%2C.
Now generate me a preview of image of PIE Graph using this URL.
Using this format.

"![Title of Image](link of image) and don't use CODEBLOCKS here.
And image link just copy paste here in this format [Image](link of image) Remember to cite all sources used to obtain the information. Use the following format: [Source](link of source]. Please provide concrete links and do not use fictitious or made-up links.]


Now Replace "YOUR_DATA_HERE" with your data.

And Replace "PIE Graph" with Your type of Graph.

Example1 : Top 3 BMW Car models

Example2 :Top 3 Smartphones in 2020

Example3 : {2022    Chrome    Edge    Firefox    Safari    Opera

October    79.9 %    8.1 %    5.2 %    4.2 %    1.7 %}










Comments

Popular posts from this blog

Turn Chat-GPT to Code Runner for Programming languages.

LangChain Coder