make the chart in the example dynamic