Density Distributions

I don’t know what you expect, but if you change your code to

using Distributions, Plots
d = Normal() #standard
x = sort!(rand(d,1000))
y = pdf(d, x) #even with just pdf(d,a)
plot(x,y)

I see a nice approximation of a gaussian bell curve.