Using chart controls
When we are working with data in our apps, there are three basic chart controls which we can use to be able to create a simple visualisation:
- Column charts
- Line charts
- Pie charts
The chart controls which we use within Power Apps are designed to take very simple data structures and create a graphical representation of it. When we talk about it being simple, we effectively want the data source to contain a textual column which can be used as the label and then at least one numerical field which can be used to show the data.
As an example, we could create a simple collection which will contain some data for us to be able to start to visualise. We could use a button to populate some data with the OnSelect formula as:
Clear(colData);
Collect(colData,
{ Country: "China", Population: 1439323776, 'Land Area': 9388211 },
{ Country: "India", Population: 1380004385, 'Land Area': 2973190 },
{ Country: "United States...