Here's how to create any chart or graph with AI (for free):
1. Go to Bing
We're going to use Bing Chat in creative mode.
Go to bing.com/chat and select "Creative" (log in to avoid limits).
2. Find data
Enter this prompt to find the data for your graph and the "code" for drawing it.
The prompt is available just below.
Prompt → I want to create a chart for Google Sheets with the evolution of smartphone sales from 2016 to 2023 in the USA by brand. Show me a table with the data I can copy/paste and write the code for a Google Sheets macro to automatically draw the line chart.
3. Copy data into Google Sheets
Copy/paste the table directly into a new Google Sheets file.
4. Copy the code
Copy the code Bing has given you, as shown in the video. Then click on "Run".
Google Sheets may ask you for authorization, but there's no risk.
5. You're done!
Your graph has been created automatically, and you can even modify it.