first working iteration of dynamic chart data