This is my practice on charts using javascript without using any library