Skip to content

Column / Bar Chart

Introduction

The Column Chart and Bar Chart widgets allow you to compare values across categories using rectangular bars.

  • Column Chart - Vertical bars (categories on the X-axis, values on the Y-axis).
  • Bar Chart - Horizontal bars (categories on the Y-axis, values on the X-axis).

These charts are among the most common visualization types, making it easy to compare values and identify patterns.

Purpose

To compare values across categories.

They are particularly effective when you want to:

  • Compare different categories (e.g., sales of product categories).
  • Show relative contribution (proportions) of sub-categories using a stacked Column/Bar Chart.
  • Use Bar Chart when category names are long or when you have many categories.
  • Use Stacked/Grouped mode to see both totals and category breakdowns.

Steps to Create a Column / Bar Chart

  1. From the left vertical menu, select the Charts icon.

    column bar

  2. A widget will be automatically added to the edit screen.

    column bar

  3. Select Dataset

    • From the Datasets dropdown, choose your dataset (e.g., ProductSales.ds).

    • Available columns will be displayed in the Available Columns panel.

      column bar

Sample Dataset (ProductSales.ds)
OrderDateYearQuarterMonthProductCategoryProductSubCategorySalesColorHex
2023-01-152023Q1JanElectronicsLaptops12000#1f77b4
2023-02-202023Q1FebElectronicsSmartphones8500#2ca02c
2023-04-102023Q2AprAppliancesKitchen7000#ff7f0e
2023-05-252023Q2MayElectronicsLaptops15000#1f77b4
2023-08-052023Q3AugAppliancesLaundry6500#9467bd
  1. Select Chart Type

    • From the Chart Type dropdown in the Type panel, choose Column or Bar.
  2. Assign Category Axis

    • Drag a categorical column to the Category Axis field.
    • Defines the categories along the horizontal axis (Column Chart) or vertical axis (Bar Chart).
    • Example: ProductCategory, ProductSubCategory
  3. Assign Value Axis

    • Drag a numerical column into the Value Axis field.
    • Determines the bar length/height.
    • Example: Sales
  4. Configure Aggregator

    • Click on the Gear icon icon next to the Value Axis field.
    • Choose an Aggregator to define how values are calculated:
      • Count – Number of records.
      • Distinct Count – Unique count of records.
      • Sum – Total of all values.
      • Average – Mean value.
      • Min – Minimum value.
      • Max – Maximum value.
  5. Optional – Series

    • Drag another categorical column into the Series field.
    • Example: Compare ProductSubCategory within each ProductCategory.
    • By default, it creates a grouped bar chart, but you can switch to a stacked bar chart by enabling the Stack option under General.
  6. Optional – Color by Column

    • Assign colors by dragging a categorical column here.

    • Example: Color by ProductCategory.

      column bar


Common Functionalities (Properties Panel)


Use Case: Employee Performance

Introduction

The Employee Performance use case demonstrates how Column and Bar Charts can be applied to HR or organizational datasets. By visualizing employee scores across departments, managers can easily compare overall department performance and identify top contributors.

Sample Dataset (StudentMarks.ds)
YearStudentSubjectMarks
2023AliceMath85
2023AliceScience90
2023BobMath78
2023BobScience82
2023CharlieMath92
2023CharlieScience88
2024AliceMath88
2024AliceScience93
2024BobMath81
2024BobScience85
2024CharlieMath95
2024CharlieScience90

How to Configure
  • Enter the following details for the Column or Bar Chart Widget:

    • Datasets (ds) -> StudentMarks.ds

    • Chart Type -> Column Chart

    • Category Axis -> Student

    • Value Axis -> Marks

    • Aggregator -> Sum

    • Optional Series -> Year (to see stacked bar chart or grouped bar chart contributions)

      column bar

Summary

The Student Marks use case illustrates how Column and Bar Charts can provide insights into academic performance.

  • Column Chart -> Quick comparison of students’ marks across years.
  • Bar Chart -> Useful when student names or subject labels are long.
  • Stacked/Grouped Charts -> Help visualize both total marks and individual year-wise contributions for each student.