Add Analytic model and ChartJS implemntation