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

July Demos + AMA: Workflow Branching, Agent API Calls, and What's Next for the Agent's Rollout

Emmanuel opened July's livestream with demos of new list operators, API calls built by the Agent, and a first look at branching and loops in the workflow engine, then took community questions on Agent rollout, recent outages, and what's next for Bubble.

Emmanuel Straschnov
July 24, 2026 • 11 minute read
blog-thumbnail

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

A practical guide to the strategic, visual, linguistic, and experiential building blocks every brand needs, and where to start.

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

The Case for Building in Public

What building in public means, why it works for early-stage founders, and how to do it without oversharing.

Bubble
July 12, 2026 • 10 minute read
blog-thumbnail

13 Best UX Design Tools in 2026, According to Designers

Expert-backed picks across design, AI, wireframing, and testing, chosen with input from three UX professionals.

Bubble
July 11, 2026 • 20 minute read

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

July 13, 2026 • 14 minute read

How to Test Your App Idea Before You Build It: 2026 Guide

July 08, 2026 • 11 minute read

What Is a CRM Builder (and How to Build Your Own)?

July 06, 2026 • 15 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

Build the next big thing with Bubble

Start building for free