Simple 1-D Scatterplot (GPL)

Figure 1. GPL for simple 1-D scatterplot
SOURCE: s = userSource(id("Employeedata"))
DATA: salary = col(source(s), name("salary"))
COORD: rect(dim(1))
GUIDE: axis(dim(1), label("Salary"))
ELEMENT: point(position(salary))
Figure 2. Simple 1-D scatterplot
Simple 1-D scatterplot