some starter code to show a chart