ChartGPT is a free open-source chart maker tool to create charts from text using AI. It takes data to plot a chart from you in raw text format and then generates a beautiful chart. It uses Open AI to convert the input text into representable format and show that to you. It can generate simple as well complex charts for you in just a few seconds. There is an online hosted version of this web app available but since it is open source, so, you can deploy your own AI based chart generator too.
Manually generating charts can be time consuming. But if you leave that on AI then you can save a lot of time. With that intention, ChartGPT is created. With this, you will have your own personal AI based chart generator that you can use anytime. All you need to have to do is specify the data to show in the chart in a detailed manner and it will take care of the rest. In the next section, you will see detailed guide on how to install and use this tool.
Installing and Running this Tool:
You can run ChartGPT on any platform and the process is almost the same. You only need Node.js to be installed on your PC or server where you wish to deploy this tool. Here are the steps that you have to perform in order to install it.
- Clone the repo by running:
git clone https://github.com/whoiskatrin/chart-gpt.git && cd chart-gpt
- Install the dependencies by running:
npm install
- Set the Open AI API key as environment variable:
$Env:OPENAI_API_KEY = "XXXXXXXXX"
If all the above steps finish successfully, it means the installation has been successful. Now, it is time to run this web app. Simply issue the following command and then wait.
npm run dev
Once the web app is ready, open browser and type localhost:3000 in the address bar. The main UI of the app will now show up that looks a lot like in the screenshot below.
You can now start using the web app to generate charts. In the box, you enter the details of the chart that you want to generate. Specify the bar chart data like this:
draw this bar chart: ola- 250 million, uber- 600 million, zypp- 15 million, radio taxi - 50 million dollars
Do not forget that you can generate different kinds of charts like this. Just change the data and then it will adapt automatically.
Now, just click on Draw button and a beautiful chart will be generated for you in a few seconds. You can see mine in the screenshot below.
You can keep changing the text input and then it will generate a chart for you automatically. This is a simple process, and you can use this too in this way. You can host it on a server and then use it wherever you want. Otherwise, you can use it on your PC as well. You just have to issue a simple command then it will take care of the rest.
Closing thoughts:
If you are looking for a simple and AI based charts generator, then you have come to the right place. Just get ChartGPT and then try a whole new way of generating charts quickly. For now, there is no option to export the generated charts but if you know programming then you can make the generated chart embed on websites. And since the project is still work in progress, so maybe they will add exporting features in the coming updates.