Pie chart with Charts.js

The sample illustrates how charts can be displayed using CXP. It is composed of two parts: one part chart-pie.cxp is dedicated to displaying a pie chart, while the other part chartsjs-data.cxp provides the data that populates the chart. The Chart component utilized is from the Charts.js library.

Run in new tab
Live editor
Result built with V2 2156
I'm a warning toast!
I'm a success toast!