hi,
nucleophilicity and basicity are almost same for some compounds, but based upon size we can tell that with increase in size basicity increases but not the nucleophilicity.(steric factor)
By considering electronegativity factor, the more the electronegativity lesser the nucleophilicity(tries to pull the electron density!!!)
For more details refer "Art of writing Organic reaction mechanism" by Robert b. Grossmon