Dynamically changing data sets for XY / Bubble chart

This is a very basic demo which shows how you can dynamically change data sets used on an XY chart, based on user interaction.

The code simply assigns different data array to charts dataProvider property, then calls its validateData() method so the chart knows to take in the new data.