While @Oxinabox's answer works, the Gadfly path will use Geom.label , for example
using Gadfly X = [1, 2, 2, 3, 3, 3, 4] Y = [4, 4, 7, 7, 9, 1, 8] Labels = ["bill", "susan", "megan", "eric", "fran", "alex", "fred"] plot(x=X, y=Y, label=Labels, Geom.point, Geom.label)

There are many advantages to this, including clever label placement to avoid overlapping labels, or you can choose from simple rules, such as :centered or below . In addition, he will choose the font size / font from the theme.
source share