Bubble Charts

The Telerik UI Bubble Chart HtmlHelper for ASP.NET Core is a server-side wrapper for the Kendo UI Bubble Chart widget.

Bubble Charts display data as points with coordinates and sizes defined by the value of their items.

Getting Started

The Bubble Chart HtmlHelper is similar to the Telerik UI Scatter Charts HtmlHelper in which the data points are replaced with bubbles. In this way a Bubble Chart displays three-dimensional data—two values for the coordinates of the items and one value for their size. A Bubble Chart is useful for visualizing different scientific relationships—for example, economic or social. The X-axis of the Bubble Charts is numerical and does not require items.

The Bubble Charts are well suited for displaying dozens to hundreds of values especially when you wish to visualize size values which differ by several orders of magnitude. As the size value is represented by a circle area, it is a best practice to plot positive values.

By default, negative values are not displayed. However, their area is going to be calculated as if their value was positive. The point label displays their actual value and they will also have a different color. To control this behavior, use the negativeValues.visible and negativeValues.color options that are applicable to each series.

To create a Bubble series in the Chart HtmlHelper, use Bubble in the Series configuration.

Initializing the Bubble Chart

The following example demonstrates how to create a Bubble Chart and visualizes several data points.

@(Html.Kendo().Chart()
    .Name("chart")
    .Series(series =>
    {
        series.Bubble(new dynamic[] {
        new {
          x =  10,
          y = 12000,
          size = 0.1
        }, new {
          x = 24,
          y =  62000,
          size =  0.25
        }
        }).Name("Sales");
    })
)

Figure 1: A sample Bubble Chart

Bubble Chart

See Also

In this article
Not finding the help you need? Improve this article