Correction to: Nature Cities https://doi.org/10.1038/s44284-025-00285-z, published online 25 July.

In the version of the article initially published, there was an error in the quadratic functions shown in the Results “Inverted-U pattern has the best fit” section, where in the equations now reading “\({\rm{Eye}}-{\rm{level\; greenness}}:{f}\left(x\right)=-2.47{x}^{2}+2.60x-0.49\)” and “\({\rm{Top}}-{\rm{down\}}}; {\rm{greenness}}:{f}\left(x\right)=-1.63{x}^{2}+1.66x-0.27\),” the final values 0.49 and 0.27 originally appeared as “5.17” and “2.94” due to a conversion error. The calculations and results are not affected by this presentation error. The equations are corrected in the HTML and PDF versions of the article.