Walk-Through: Use ‘:Group By’ to Return and Display Data

Learn how and when to use the ‘:group by’ operator with this step-by-step guide.

Abhinav Narain
January 17, 2024 • A quick read
Walk-Through: Use ‘:Group By’ to Return and Display Data

Whether you’re creating an internal dashboard, building a user-facing analytics app, or simply trying to illustrate a point, data visualization can be a powerful tool for conveying information.

With the :group by operator, you can define one or more groupings of data and aggregate that data based on how you want to slice and dice it. For example, you might want to group data by creation date or owner and present that data by sum or average. By using :group by, you’re able to cross-hatch your data easily and dynamically.

Here’s a step-by-step guide to using the :group by operator and the free Chart.js plugin to return and display data in a bar chart.

💡
For more interactive tutorials, visit the academy.
Start building for free

Build for as long as you want on the Free plan. Only upgrade when you're ready to launch.

Join Bubble

LATEST STORIES

blog-thumbnail

Bubble vs. Replit Comparison: Which AI App Builder Is Right for You?

Bubble provides all-in-one AI app generation alongside a visual editor that gives anyone full control and customizability of their app. Replit provides an IDE alongside AI support for code generation, iteration, and debugging. Which is right for you? We analyzed 11 key factors to help you decide.

Bubble
July 02, 2026 • 28 minute read
blog-thumbnail

The 7 Best AI Platforms for Subscription Products in 2026

Find the right AI platform for your subscription product, from AI SaaS to course memberships.

Bubble
July 02, 2026 • 16 minute read
blog-thumbnail

How to Launch a Subscription Product: 2026 Step-by-Step Guide

A practical plan to pick your model, validate pricing, build your billing, and go live with the right metrics.

Bubble
July 02, 2026 • 14 minute read
blog-thumbnail

How to Build an Android App in 2026: A Complete Guide

Learn to plan, build, test, and publish your first Android app using Bubble's fully visual AI app builder — or traditional Kotlin if you want to learn programming. No coding experience required for Bubble.

Bubble
July 02, 2026 • 18 minute read

How to Launch a Subscription Product: 2026 Step-by-Step Guide

July 02, 2026 • 14 minute read

How to Make Dashboards With Bubble AI: A Complete 2026 Guide

June 22, 2026 • 15 minute read

The Startup Founder's Guide to Bootstrapping Your Own Business Successfully

June 21, 2026 • 15 minute read

How to Build an App for Your Business: 8 Simple Steps

June 19, 2026 • 10 minute read

How to Build a Property Management Website in 2026

June 16, 2026 • 17 minute read

Build the next big thing with Bubble

Start building for free