How to Draw Graphs, Charts, and Diagrams in ChatGPT
You canuse ChatGPT to write essaysand for a myriad of other tasks, but did you know, you can create graphs, charts, and diagrams as well inChatGPT? Yes, with the help of plugins, you can visualize data with ChatGPT in different styles and forms. Not to mention, free ChatGPT users can also create complex diagrams to understand complex concepts. On that note, let’s learn how to draw graphs and diagrams using ChatGPT.
Draw Graphs, Charts, and Diagrams in ChatGPT Using Code Interpreter
Code Interpreterhas finally arrived on ChatGPT and now you can achieve all kinds of tasks including generating graphs, charts, diagrams, and much more. You can evenupload files to ChatGPTand ask ChatGPT to study the data and create different kinds of charts. It is one of the most powerful tools available on ChatGPT, and you must learn to use it to your full advantage. That said, keep in mind, the feature is only available to paid ChatGPT Plus users (costs $20 per month). On that note, let’s begin.
-
First, follow our detailed tutorial andenable Code Interpreterin ChatGPT.
-
Once enabled, you can start by asking about itsdata visualization abilities. As you can see, it can create line graphs, bar graphs, pie charts, scatter plots, histograms, heat maps, and more.
-
Now, simplyupload your dataand ask it to visualize the data. For example, I have uploaded world population data and created a line graph. You can upload CSV, XLS, XLSX, and other file formats as well.
-
You can also ask Code Interpreter tomake the graph look prettylike this.
-
You can also ask Code Interpreter tofind key insights from the dataand visualize it. This is interesting, right?
-
You can alsocreate a scatter plotto compare two variables. Basically, you can generate any kind of charts, graphs, and diagrams with ChatGPT’s Code Interpreter tool.
Draw Graphs, Charts, and Diagrams Using ChatGPT Plugins
Users who havesubscribed to ChatGPT Pluscanenable ChatGPT Pluginsand install someawesome pluginsto visualize data. You can use either Show Me Diagrams or the daigr.am plugin to generate graphs, charts, diagrams, and flowcharts. Learn how you can use ChatGPT plugins to create graphs and diagrams in ChatGPT.
-
Launch ChatGPT (visit) and move to theGPT-4 model.
-
Select the “Plugins” option.
-
Open thePlugin store.
-
Install theShow Me Diagramsplugin from the Plugin Store. By the way, you can install the daigr.am plugin as well.
-
I also recommend installing theWolfram ChatGPT pluginto access real-time data from the internet on any subject.
-
Enable both plugins. Now, to begin with, I asked ChatGPT tocreate a line chartshowing the global earth temperature from 2010 to 2018. It immediately pulled data from Wolfram and created a chart using the two plugins. You can also ask ChatGPT to create a pie chart, bar chart, line chart, etc.
-
In another example, I used data from a research paper and asked ChatGPT tovisualize the data. It automatically came up with the right bar chart and created the chart.
-
After that, I asked the chatbot to make a graph of the US GDP in the last 5 years and it came up with multiple graphs.
-
Finally, ithelped me create a diagramof different types of AI technologies as well. You can use diagrams to break down and understand complex concepts.
How to Create Diagrams Using ChatGPT & Draw.io for Free
You can also draw graphs and diagrams in ChatGPT for free. Using theMermaid language syntax, you can generate the code and paste it into any diagramming application for visual output. Here is how it works.
-
Open the free version of ChatGPT and ask it to create a diagram on your chosen topic. Finally, ask it tooutput the code in Mermaid. Now, copy the code.
-
Next, open a diagramming application of your choice. I am usingdrawio.com(visit) as it’s free and easy to use.
-
Create a blank diagram. After that, in the top-row menu, click onArrange -> Insert -> Advanced -> Mermaid.
-
Here, remove the existing code andpaste the Mermaid codeyou copied from ChatGPT. Now, click on “Insert” here.
-
And there you have it. Thediagram will be ready, and you can also export it in image formats, including PDF. You can create even more complex diagrams in ChatGPT using the Mermaid syntax.
-
I also asked areasoning questionand queried ChatGPT to output the code in Mermaid to understand the relation visually. It correctly identified the answer.
Arjun Sha
Passionate about Windows, ChromeOS, Android, security and privacy issues. Have a penchant to solve everyday computing problems.
Add new comment
Name
Email ID
Δ
01
02
03
04
05