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

Episode 9: From Cleaning Offices Himself to 600 Enterprise Clients With Clément Llehi

Clément Llehi didn’t need a co-founder, outsider funding, or a coding background to bootstrap Makko to 300 employees and 600+ enterprise clients.

Bubble
May 12, 2026 • 4 minute read
blog-thumbnail

The 7 Best Low Cost Mobile App Development Tools in 2026

Build a real mobile app affordably without compromising on control. Compare platforms that balance pricing with the ability to edit when AI gets stuck, understand what you’re building, and publish to iOS, Android, or web, so you pick the right tool the first time.

Bubble
May 08, 2026 • 16 minute read
blog-thumbnail

The 8 Best Enterprise App Builders in 2026 for Every Team

This guide compares the leading enterprise app builders for web and mobile development in 2026. You’ll see which security features matter for enterprise compliance and how to choose the right platform based on your team’s infrastructure and application requirements.

Bubble
May 08, 2026 • 15 minute read
blog-thumbnail

The 7 Best AI-Powered App Builders for Operations Teams in 2026

Discover the best AI app builders for operations teams — comparing platforms across governance capabilities, mobile deployment options, workflow transparency, and pricing models to help you choose the right tool for internal apps, partner portals, and field applications.

Bubble
May 08, 2026 • 17 minute read

How to Write a Lean Business Plan (With Template and Examples)

May 05, 2026 • 12 minute read

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

April 24, 2026 • 15 minute read

Web Content Architecture 101: 5 Simple Steps to Organize Your Site's Structure

April 22, 2026 • 14 minute read

How to Build Custom Automated Expense Reporting Systems With AI

April 21, 2026 • 19 minute read

Web App Design 101: How to Design Effective Web Apps in 6 Steps

April 15, 2026 • 15 minute read

Build the next big thing with Bubble

Start building for free