New to Telerik UI for ASP.NET Core? Download free 30-day trial

Bubble Charts

The Telerik UI Bubble Chart TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers 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 component is similar to the Telerik UI Scatter Charts 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 component, 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");
      })
  )
  @addTagHelper *, Kendo.Mvc
  <kendo-chart name="chart">
    <series>
      <series-item type="ChartSeriesType.Bubble" 
            name="Sales"
            data="new dynamic[] {
                                        new { x =  10, y = 12000, size = 0.1}, 
                                        new {x = 24, y =  62000, size =  0.25}
                                        }">
      </series-item>
    </series>
  </kendo-chart>

UI for ASP.NET Core A sample Bubble Chart

See Also

In this article