As a general rule of thumb a pyridine ring nitrogen may be thought to exert approximately the same activating effect as a C-NO2 susbtituent toward nucleophilic aromatic substitution.
Thus, for reaction with NaOCH3/CH3OH performed at 50 degrees C:
2-Chloropyridine undergoes nucleophilic aromatic substitution of Cl by OCH3 about 2.3 x 10exp8 faster than chlorobenzene.
Similarly, for reaction with NaOCH3/CH3OH performed at 85 degrees C:
4-Nitrochlorobenzene undergoes nucleophilic aromatic substitution of Cl by OCH3 about 7 x 10exp10 faster than chlorobenzene.
Admittedly, the foregoing might not be a fair comparison for the following reasons:
(i) The C-Cl bond is more distant in 4-nitrochlorobenzene than in 2-chloropyridine, so activation via the inductive effect of substituents (C-NO2 group vs. ring nitrogen) is attenuated in the former compound.
(ii) Different mechanisms may be operative! Thus, nucleophilic aromatic substitution in activated aromatic rings (i. e., those that bear ring nitrogen and/or electron-withdrawing substituents) proceeds with formation of a Meisenheimer complex, whereas reaction of (unactivated) chlorobenzene with methoxide ion, even at 50 degrees C, most likely proceeds via base-promoted abstraction of an ortho-H followed by formation of a benzyne intermediate.
Ah, well. Hope this helps.