How to Make a Bar Graph in Google Sheets with AI

Cody Schneider

Creating a bar graph in Google Sheets used to involve a scavenger hunt through menus and settings panels. Now, you can build one in seconds just by asking for it in plain English. This article will show you exactly how to use the built-in AI to make bar graphs instantly, without clicking through endless options.

Why Bother with a Bar Graph?

In the world of data visualization, the bar graph is a workhorse. It’s simple, universally understood, and incredibly effective for one primary job: comparing values across different categories. Whether you’re looking at sales figures for different products, website traffic from various social media channels, or quarterly performance of your sales reps, a bar graph makes it easy to see who or what is on top.

Its strength lies in its simplicity. Our brains are wired to compare lengths and heights easily. When you see two bars next to each other, you instantly know which one is bigger. This immediate clarity is why bar graphs are perfect for:

  • Ranking performance: Quickly spot your highest and lowest performing marketing campaigns.

  • Comparing categories: See which product line generated the most revenue last month.

  • Tracking over a period (sort of): While line graphs are better for continuous time, bar graphs are great for comparing discrete time-based categories, like sales in Q1 vs. Q2 vs. Q3.

Before AI, creating one meant manually selecting data and navigating the chart editor. It wasn't hard, but it was tedious. Now, that entire workflow is changing.

The AI Shortcut: Meet the 'Explore' Feature

Tucked away in the bottom-right corner of your Google Sheet is a small, star-like icon labeled "Explore." This is your personal AI data analyst, built right into the spreadsheet. Its job is to understand your data and help you get insights faster, an often-overlooked feature that feels like a superpower once you start using it.

Traditionally, making a bar graph followed these steps:

  1. Highlight the specific range of data you wanted to visualize.

  2. Click Insert in the top menu.

  3. Click Chart.

  4. Hope Google Sheets correctly guesses you want a bar chart.

  5. If not, navigate the "Chart editor" panel on the right to switch the chart type, configure the X- and Y-axis, add titles, and adjust colors.

While this process works, it’s full of small points of friction. The Explore feature flattens this process into a single step: asking a question.

Instead of manually building a visualization click by click, you just describe what you want to see. The AI analyzes your data and your prompt, then generates the exact chart for you. It turns a one-minute task into a five-second conversation.

How to Make a Bar Graph in Google Sheets with AI: Step-by-Step

Ready to try it out? Let’s walk through the process with a simple, practical example. Imagine we have a dataset tracking monthly website sessions from different marketing channels.

Step 1: Make Sure Your Data is Clean and Organized

AI is powerful, but it's not a mind reader. It works best with data that's organized logically. For a bar graph, this means your data should be in a simple tabular format:

  • Your categories should be in one column (e.g., 'Marketing Channel').

  • Your numerical values should be in an adjacent column (e.g., 'Website Sessions').

  • Make sure you have clear headers in the first row. The AI uses these headers to understand what your data represents.

Step 2: Open the 'Explore' Panel

With your data on the sheet, look to the bottom-right corner of the window. You'll see a small button with a four-pointed star icon. This is the Explore button.

Click it. A panel will slide out from the right side. This is your AI command center. Google Sheets will automatically analyze your data and may even suggest a few default questions or charts right away.

Step 3: Ask Your Question in Plain English

This is where the magic happens. At the top of the Explore panel is a text box that says "Ask a question about this data." Here, you can type what you want to see. The key is to be clear and use the terms from your column headers.

For our example, we could ask:

bar chart of website sessions by marketing channel

Hit Enter. The AI assistant will process your request, look at your "Website Sessions" and "Marketing Channel" columns, and instantly generate a bar chart that displays this relationship.

Step 4: Insert and Refine Your Chart

The Explore panel will display the resulting chart directly. You can now do two things:

  1. Drag and Drop: Simply click and drag the chart from the Explore panel directly onto your spreadsheet.

  2. Insert Chart Button: Hover over the chart in the panel, and an "Insert chart" icon will appear. Click it to place the chart neatly on your sheet.

Once the chart is on your sheet, it’s a standard Google Sheets chart. The AI’s job was to build it for you, but now you have full control to customize it. You can double-click the chart at any time to open the classic "Chart editor" and make any tweaks you need.

Tips for Better AI-Powered Charts

The AI in Google Sheets understands natural language well, but a few small habits can help you get perfect charts every time.

Be Specific About Chart Type

While the AI is good at guessing, it's always best to tell it exactly what you want. Adding phrases like "...as a bar graph" or "create a bar chart showing..." removes all guesswork and ensures you get the right visualization.

Good Prompt: Website sessions from each marketing channel as a bar graphLess Direct Prompt: Website sessions from each marketing channel (Might give you a pie chart instead)

Use Your Column Headers in Your Question

The AI bases its understanding of your data on the headers you use. To get the most accurate result, use those exact header names in your prompts. If your column is named "Sales '24 FY," use that in your question instead of typing "revenue for this year." The closer your prompt matches your data structure, the better the output will be.

Experiment with Sorting and Filtering

You can also ask the AI to organize the chart for you. After creating the initial chart, you can ask follow-up questions or refine your prompt:

  • bar chart of website sessions by marketing channel sorted high to low

  • top 3 marketing channels by website sessions as a bar chart

Don’t Be Afraid to Correct It

Sometimes the AI might get it wrong, especially with more complex data. If it creates a column chart when you wanted bars, you can just click "Edit" on the chart suggestion in the Explore panel and quickly change the chart type yourself. The initial AI generation still saves you 90% of the work.

Final Thoughts

Creating bar graphs in Google Sheets has fundamentally changed. By using the AI-powered Explore feature, you can skip the manual setup and instantly visualize your data simply by describing the chart you need. It reduces friction and transforms reporting from a tedious task into a quick conversation with your data.

While the built-in AI in Google Sheets is amazing for visualizing data from a single spreadsheet, what happens when your data is scattered across ten different platforms? That’s exactly why we built Graphed. We designed an AI data analyst that connects to all your tools - like Google Analytics, Shopify, Facebook Ads, and Salesforce - at once. You can ask for a bar graph that compares your Shopify sales to your Google Ads spend for the month, and Graphed instantly builds a live, shareable dashboard that does it for you. It automates the entire cross-platform reporting process, not just a single chart.