chart working for json array (dummy data for the moment)