improve js unit test coverage for "scatterplot.js"

Summary

Add a test for "showNoDataMessage" function of "scatterplot.js" file

What is the expected correct behavior? (if appropriate)

increase coverage

Relevant logs and/or screenshots (if appropriate)

Which subsystems are affected?

  • Backend
  • Frontend
  • Other (specify in the summary)