TigerData logo
TigerData logo
  • Product

    Tiger Cloud

    Robust elastic cloud platform for startups and enterprises

    Agentic Postgres

    Postgres for Agents

    TimescaleDB

    Postgres for time-series, real-time analytics and events

  • Docs
  • Pricing

    Pricing

    Enterprise Tier

  • Developer Hub

    Changelog

    Benchmarks

    Blog

    Community

    Customer Stories

    Events

    Support

    Integrations

    Launch Hub

  • Company

    Contact us

    About

    Timescale

    Partners

    Security

    Careers

Log InTry for free
TigerData logo

Products

Time-series and Analytics AI and Vector Enterprise Plan Cloud Status Support Security Cloud Terms of Service

Learn

Documentation Blog Forum Tutorials Changelog Success Stories Time-series Database

Company

Contact Us Careers About Brand Community Code Of Conduct Events

Subscribe to the Tiger Data Newsletter

By submitting, you acknowledge Tiger Data's Privacy Policy

2026 (c) Timescale, Inc., d/b/a Tiger Data. All rights reserved.

Privacy preferences
LegalPrivacySitemap

Copy as HTML

Open in ChatGPT

Open in Claude

Open in v0

D

By Dinma Otutu

1 min read

Sep 09, 2022

Data Visualization

Data Visualization Examples: How to Create Pie Charts in Grafana

A line chart and a pie chart over a white background in a graphical user interface
Data Visualization

D

By Dinma Otutu

1 min read

Sep 09, 2022

Copy as HTML

Open in ChatGPT

Open in Claude

Open in v0

There are numerous data visualization examples in the glorious world of the Internet, but today we’re focusing on a good old classic sitting quietly in almost every data visualization dashboard: the pie chart.

Pie charts are mostly used when dealing with group or categorized data. As the name suggests, the pie-shaped chart represents the whole data, divided into multiple parts or slices. Each piece of the pie represents a subcategory of the complete data.

Pie charts can answer several questions:

  • Which was the least traded stock volume last month?
  • Which stock has the highest traded stock today?
  • Who had the highest percentage of accrued votes in the last election?
    In this tutorial, you’ll learn what pie charts are and how to use them in the open-source analytics and interactive visualization web application Grafana—using PostgreSQL and TimescaleDB.

Using a real-world stocks dataset, you’ll find a handful of data visualization examples on creating beautiful and insightful pie charts in Grafana (with just SQL!). We’ll cover creating pie and donut charts with pre-aggregated data using arbitrary time intervals (time_bucket) and show the transaction volume—all in the same panel.

Join us along for the ride!

Looking for more Grafana guides? Here are our Grafana tutorials and our Grafana 101 Creating Awesome Visualizations for more support on visualizations in Grafana.

If you need a database to store your time-series data and power your dashboards, try Timescale, our fast, easy-to-use, and reliable cloud-native data platform for time series built on PostgreSQL. (You can sign up for a 30-day free trial, no credit card required.)

Related posts

How to Build an IoT Pipeline for Real-Time Analytics in PostgreSQL

How to Build an IoT Pipeline for Real-Time Analytics in PostgreSQL

Data AnalysisData Visualization

Dec 30, 2024

PostgreSQL is a great option for IoT data and the real-time analytics it often requires. Need proof? Read how we built and benchmarked an IoT pipeline.

Read more

Data Visualization in PostgreSQL With Apache Superset

Data Visualization in PostgreSQL With Apache Superset

PostgreSQL, BlogData Visualization

Mar 21, 2024

Looking for data visualization tools for PostgreSQL? We discuss a few options and provide a step-by-step guide on PostgreSQL and Apache Superset.

Read more

Stay updated with new posts and releases.

Receive the latest technical articles and release notes in your inbox.

Share

Get Started Free with Tiger CLI