add a demo for charts functionality