updated based scatter chart implementation