Hi, can anyone help me out with the scatterplot project. The scatterplot seems alright to me but i am not able to clear two tests. Can anyone please checkout out my source code and point out the errors.
link to code : https://codepen.io/Kwatranishkarsh/pen/GRKoYGm
test cases failing: #6 and #8
i am attaching the screen shot of test cases below: