Annotate Points in Plot

Is there a way to annotate each point with its id number? I know it seems odd, but that is what we are hoping to display. Thank you

using DataFrames, Gadfly
df = DataFrame((id = 1:20), value_x=rand(20)*100, value_y = rand(20))
plot(df, y=:value_y, x=:value_x, Geom.point)

have you tried the label geometry?

1 Like

I am not sure if this is what you want, but this notebook contains lots of annotations (see towards the middle of the file):
notebook

1 Like