New to Telerik UI for Blazor? Download Free 30-day trial

Chart - Donut Chart

  • Donut-chart.razor
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming


Telerik UI for Blazor Chart is a data visualization component which allows you to output graphical representation of your data. It is useful when you would like to utilize modern browser technologies such as SVG or Canvas for interactive data visualizations. The chart supports various numerical, categorical and axis-free types. The current demo focuses on the Donut Chart.

The Blazor Donut Chart displays the data as sectors from a two-dimensional circle with a hole in the middle. It is practical for scenarios in which you want to display data as parts of a whole. The Donut Chart supports multiple series and exposes various configuration options.

You can alter the default rotation to change the start angle of the series – by default, the first segment starts at the top. The individual segments of the Blazor Donut Chart are marked with different colors that can be customized through the ColorField property of the series. The Blazor Donut Chart also allows you to focus a specific segment – the ExplodeField property of the series can be used to set an Exploded Segment that will be visually separated from the rest of the circle with a small margin. You can additionaly configure the hole size, the segment visibility in the legend and more.

Besides series customization, the Blazor Chart exposes multiple nested tags that allow you configure the rest of the chart elements – Category Axis, Legend, Plot Area, Tooltip. Check the Chart API Reference for a full list of properties, methods and events.

The demo showcases a Donut Chart with single series visualizing the interest in specific sport. There is a category defined for each sport and a dedicated segment for each category representing its value.

This Blazor Charts and Graphs Donut Chart example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.