Histogram Chart
In this article, we will explain how to create and customize a histogram chart. So let's get started!
Last updated
In this article, we will explain how to create and customize a histogram chart. So let's get started!
Last updated
A Histogram Chart is a type of bar chart that displays the distribution of numerical data. It divides the data range into intervals (called bins) and shows how many values fall into each bin. Unlike a bar chart, which is used for categorical data, histograms are ideal for continuous numerical data.
Imagine you're working with a dataset containing the ages of individuals in a city survey. You want to understand which age groups are most common.
A histogram chart is ideal here, as it can group ages into intervals (e.g., 20–25, 25–30) and show how many people fall into each range.
20–25
15
25–30
42
30–35
28
35–40
18
40–45
10
45–50
7
Use a histogram when you want to:
Understand distribution of numerical data
Detect patterns, clusters, or gaps
Spot outliers or skewness
Visualize frequency or spread of values like sales, profit, scores, etc.
Stacked Histogram – Multiple categories stacked in each bin
Normalized Histogram – Uses percentage values instead of raw counts
Cumulative Histogram – Displays running total across bins
Bins: Define the number or size of intervals
Aggregations: Use average
, count
, sum
, etc.
Sorting: Order by value or category
Axis Titles: Add X and Y axis labels
Bar Colors: Customize chart appearance
On the dashboard, in the “Describe what you are trying to analyze” field, enter a natural language query like:
Click Next to continue.
Infinity interprets your prompt and pre-selects the appropriate chart type and data fields.
Choose from previously connected data sources listed in the dropdown
Or upload a file in .csv
or .xls
format by dragging and dropping it or using the “browse” option
Example selected dataset: global_superstore_orders
Click Next once the dataset is selected
Dimension (X-axis): Region
Metric (Y-axis): Avg(Sales)
Order By: Avg(Sales)
(optional sorting)
Click Save once configuration is complete.
Click Advanced Editor for styling and customization.
Available Styling Options (Summary):
Chart Background – Set colors or transparency
Padding & Zoom – Adjust space and interactive zoom
Series – Customize bar styles, widths, and colors
Legend – Control placement, visibility, and font
Axes – Label formatting, tick spacing, and scaling
Gridlines – Enable/disable lines and set styles
Other – Tooltips, refresh behavior, and interactivity
These allow fine-tuning your chart for clarity, branding, and presentation-readiness.
You’ve now created a Histogram Chart that reveals the average sales distribution across regions using simple steps and natural language prompts. With advanced customization available, you can tailor the chart to meet different analytical and visual requirements.
Use Infinity's intuitive interface and styling tools to:
Spot trends instantly
Support decision-making
Deliver visually impactful insights