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 • % minute 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 with a free account

Build your app on Bubble's Free plan. No need to upgrade until you're ready to launch your app.

Join Bubble

LATEST STORIES

blog-thumbnail

Bubble vs. Quickbase: Which Is the Best No-Code Platform?

Bubble and Quickbase are both popular no-code builders. Here’s how they compare, so you can choose the right platform for your business.

Bubble
February 14, 2025 • 24 minute read
blog-thumbnail

Bubble vs. Retool: Comparing the Top No-Code Platforms

Retool is a low-code tool for developers looking to build internal apps and frontend interfaces. Bubble’s no-code platform has been used to build and scale more than 4 million applications, from startups to enterprise apps. Here’s how the two platforms compare.

Bubble
February 04, 2025 • 26 minute read
blog-thumbnail

Bubble vs. Jotform: Comparing the Top No-Code Platforms

Jotform Apps is a no-code app builder based on the forms-builder Jotform is known for. Bubble is a flexible no-code builder that allows you to build any kind of app or website. Here’s how the two stack up.

Bubble
February 03, 2025 • 25 minute read
blog-thumbnail

Bubble vs. WordPress: Comparing the Top No-Code Platforms

Bubble and WordPress are both no-code builders with customizable options. WordPress is suited more toward websites, while Bubble focuses on web apps and mobile apps.

Bubble
February 03, 2025 • 28 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 Your AI Agent on Bubble — No Coding Required

November 19, 2024 • 2 minute read

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

October 30, 2024 • 12 minute read

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

October 25, 2024 • 9 minute read

Build the next big thing with Bubble

Start building for free