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

See How We Redesigned the Property Editor for Better Building

The redesigned property editor makes Bubble more intuitive for new builders and more efficient for experienced ones. Learn what changes to expect.

Bubble
December 11, 2025 • 4 minute read
blog-thumbnail

Meeting the Moment: What It Actually Takes to Evolve in the AI Era

We asked every employee to recommit to our vision of replacing code with AI visual development. 95% chose to stay. Here's why that matters.

Josh Haas and Emmanuel Straschnov
December 02, 2025 • 5 minute read
blog-thumbnail

How We Designed Bubble's New Brand Guidelines

We're unveiling our latest brand evolution — one that speaks to builders everywhere, matches a massive shift in our industry, and allows Bubble to evolve into the AI visual development platform it was born to be.

Eve Spears
December 02, 2025 • 5 minute read
blog-thumbnail

Introducing Launch Lab: Professional Launch Support for Bubble Founders

Launching your app shouldn’t feel like shouting into the void. Meet Launch Lab, our new program that helps select founders and agencies turn launches into professional campaigns.

Bubble
November 25, 2025 • 7 minute read

10 Must-Have Project Management App Features in 2025

November 14, 2025 • 10 minute read

How to Design a Relational Database

June 13, 2025 • 6 minute read

How to Build a Wireframe: Top 7 Dos & Don’ts of Building Your App’s Blueprint

March 04, 2025 • 8 minute read

What Is a Database and Why Does Every App Need One?

January 15, 2025 • 6 minute read

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

November 20, 2024 • 15 minute read

Build the next big thing with Bubble

Start building for free
CoAlias Logo Powered by CoAlias