Cardiovascular diseases (CVDs) are the leading cause of global mortality, and urban greenspace can reduce CVDs risk. However, the evidence relating various greenspace metrics to CVDs risk is inconclusive. To enhance the understanding of the correlation between greenspace and CVDs, we compared three greenspace indicators-street view-based greenspace (SVG), normalized difference vegetation index (NDVI), and green cover rate (GCR). We used a large sample of 36,504 CVDs hospitalization records with precise residential addresses from 2017 to 2022 in Jingzhou, China. Employing the geographically weighted regression (GWR) model, we investigated the association between greenspace and CVDs incidence at the population level. We found significant negative associations between NDVI/SVG and CVDs incidence (SVG: β = - 1.64
95% CI, [- 2.12, - 1.15]
NDVI: β = - 8.57
95% CI, [- 9.81, - 7.33]), with NDVI exhibiting a more substantial protective effect. However, no significant relationship was found in GCR (p = 0.161). The impacts varied by age, but not by gender, with younger individuals benefiting more than the elderly, and SVG showed no significant relationship with CVDs incidence in individuals over 65 years. Our findings suggested the importance of the presence of greenspace in CVDs prevention. Consequently, in urban greenspace planning, priority should be given to the vegetation quantity in residential areas over the size of greenspace facilities located distant from residences.