factored out chart data to separate file