Verify that data is an object of x,y arrays. Throws an error if it's not.
data
data to check.
options.
Optional
Minimum length.
Verify that
datais an object of x,y arrays. Throws an error if it's not.