Bar Chart
In this article, we will explain how to create and customize a bar chart. So let's get started!
Last updated
In this article, we will explain how to create and customize a bar chart. So let's get started!
Last updated
A horizontal bar chart is a chart that visualizes data using horizontal bars of different lengths. The length of each bar represents the magnitude of the data it represents, and the bars are typically organized horizontally.
Here is an example of a horizontal bar chart with sample data:
This horizontal bar chart shows the sales data for five different products. The length of each bar represents the magnitude of the sales data for each product.
Sample data:
Navigate to Add New Chart screen
Select data source
Select "Bar Chart" type from gallery
1) The configuration shown illustrates how to map the sales on the x-axis and the products on the y axis in order to generate the line chart.
2) To customize the appearance of an area chart, follow these steps:
Click on the "Customize" tab
Go to "Series" and select the desired data series
Select the desired customization options, such as color, line type, line thickness, point shape, point size, data points, right/left axes representation, and more
This allows you to tailor the appearance of the chart to your specific needs and preferences. You can customize a variety of options to create a chart that effectively communicates your data and insights.
Horizontal bar charts are often used to visualize data that is organized into categories or groups. They are particularly useful for comparing the magnitude of different data points and for showing trends and patterns in the data.
There are a few useful tips to keep in mind when using horizontal bar charts:
Make sure to clearly label the chart and include a descriptive title.
Use a clear and readable font for the labels and axis ticks to make it easier for readers to understand the chart.
Use a consistent scale for the x-axis to allow for easy comparison of the different data points.
Use a meaningful scale for the y-axis, such as categories or time periods, to help readers understand the context of the data.
There are a few situations where a horizontal bar chart may not be the best choice:
If you have a large number of data points, the chart may become cluttered and difficult to read. In this case, you may want to consider using a different type of chart, such as a line chart or an area chart.
If you want to show continuous trends over time, a horizontal bar chart may not be the most appropriate choice. In this case, you may want to consider using a line chart or an area chart instead.
If you have multiple sets of data that you want to compare, a horizontal bar chart with multiple series may be more appropriate.
Infinity offers many customization options for your chart. To access these options, click on the customize tab in the chart builder screen. This will display a list of customization options.
Here is a list of notable customization options for the line chart.
Product | Sales ($) |
---|---|
Feature | Description |
---|---|
Apples
50,000
Oranges
75,000
Plums
100,000
Grapes
125,000
Bananas
150,000
Aggregation
To create an aggregation, click on the data series chip in the data mapping section and choose the desired aggregation.
There are various aggregation options available based on the data type.
Renaming the Data Series
To rename a data series, click on the data series chip in the data mapping section. A pop-up will appear, allowing you to change the name and any aggregation options.
Dual Axes or Right hand Axes
To enable dual axes, follow these steps:
Click on the customization tab.
Click on series.
Titles
To change the titles, follow these steps:
Click on the customization tab.
Click on the horizontal (or) vertical axes.
Proceed to change the titles.
Chart Background
To change the chart background, follow these steps:
Click on the customization tab.
Click on the chart background.
Proceed to selecting the desired color.
Padding and Zoom
To change the padding and zoom, follow these steps:
Click on the customization tab.
Click on the padding and zoom accordion.
Proceed to customize the padding and zoom attributes for your chart.
Legend
To customize the legend, follow these steps:
Click on the customization tab.
Click on the legend accordion.
The platform offers four legend options: top, bottom, right, or none.
You can also configure the legend font here.
Axes
To customize the axes, follow these steps:
Click on the customize tab.
Select the desired axes (horizontal for X, vertical for Y, and right vertical for secondary Y).
Proceed to changing the title, fonts, labels, order of axes, scale, or even add formatting such as $ or %.
Gridlines
To change the grid lines, follow these steps:
Click on the customize tab.
Select the gridlines accordion.
Select the orientation (i.e. vertical or horizontal).
Select the series that you want to plot on the right-hand axes.
You will also have the option to modify the font attributes.
Update/customize the count and colors of the gridlines.