Smooth Line Chart

In this article, we will explain how to create and customize a smooth line chart. So let's get started!

A smooth line chart is a variation of a line chart that uses a smoothing algorithm to create a curved line that passes through or near all of the data points in the chart. Smooth line charts are often used to display trends and patterns in data over time, similar to regular line charts. They can be particularly useful when the data contains a lot of small fluctuations or noise, as the smoothing algorithm can help to clarify the overall trend.

Here is an example of a smooth line chart with sample data:

In this example, a smooth line chart is used to show the temperature trend over time (e.g. months or years). The x-axis represents time, and the y-axis represents the temperature in degrees Celsius. Each data point on the chart represents the temperature at a specific point in time, and the curved line connecting the points shows the overall trend in temperature, with fluctuations in the data smoothed out.

Sample data:

Time PeriodTemperature

Jan 2020

10

Feb 2020

12

Mar 2020

15

Apr 2020

20

May 2020

25

Jun 2020

30

How-to build a smooth line chart?

  1. Navigate to Add New Chart screen

  2. Configure and customize the chart to create the desired visualization.

Smooth line configuration:

The configuration shown illustrates how to map the time period on the x-axis and the temperature on the y axis in order to generate the line chart.

Smooth line customization options:

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.

FeatureDescription

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).

Useful Tips:

  • Use a consistent scale for the y-axis to accurately compare data points

  • Consider using a legend to label multiple data series on the same chart

  • Use a clear and concise title to describe the data being displayed

  • Avoid cluttering the chart with too much data or unnecessary elements

  • Use a meaningful and appropriate time scale for the x-axis (e.g., days, weeks, months, years)

Last updated