1. n1 <- nPlot(mpg ~ wt,
  2. data = mtcars,
  3. type = 'scatterChart',
  4. group = 'gear'
  5. )
  6. n1