In this demo, the Chart UI component is populated with data taken from a simple JavaScript array. It is the easiest way to provide data for the UI component, and it is the right choice if you do not need to get data from the server or update data dynamically.