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

April AMA Recap: AI Agent Expansion, Mobile Momentum, and Platform Updates

Emmanuel’s April AMA covered the AI Agent's rollout to existing Bubble apps, why visual workflows beat generated code, mobile plugin news, a major backend upgrade, and more.

Emmanuel Straschnov
April 09, 2026 • 7 minute read
blog-thumbnail

What Is User Acceptance Testing (UAT) and How to Do It Well

User acceptance testing (UAT) is a core testing method to get your product ready to launch and improve product adoption. Here’s what it is and how to do it effectively.

Bubble
April 08, 2026 • 12 minute read
blog-thumbnail

10 Mobile App Development Trends You Should Know for 2026

AI features, IoT, hybrid monetization: mobile app development is changing fast. Get the intel you need on which trends matter most and why.

Bubble
April 07, 2026 • 16 minute read
blog-thumbnail

How to Find A Great Mobile App Idea (+15 Successful Examples)

Finding a good app idea is harder than it looks. This guide will give you the frameworks, categories, and examples you need to create your own unique idea for a successful app.

Bubble
April 06, 2026 • 16 minute read

What Is User Acceptance Testing (UAT) and How to Do It Well

April 08, 2026 • 12 minute read

How to Validate Your Product Idea With AI Prototypes (You Can Actually Ship)

April 02, 2026 • 12 minute read

The Essential Brand Elements: 15 Assets That Will Help Your Startup Stand Out

April 01, 2026 • 14 minute read

How to Set Up an Online Booking System: Complete Guide

April 01, 2026 • 12 minute read

How to Build an Education App in 2026: Complete Guide

March 31, 2026 • 16 minute read

Build the next big thing with Bubble

Start building for free