Nimkar and colleagues present a flatmount spatial transcriptomics platform for mapping the distribution of retinal ganglion cell (RGC) types. The analysis uncovers systematic topographic biases among RGC types and identifies perivascular RGC types surviving preferentially after experimental glaucoma. The results highlight neuroprotective roles of perivascular niche in the retina.