data_no_na %>% select(prevalentHyp, TenYearCHD) %>% filter(TenYearCHD == "Yes" ) %>%
ggplot() +
geom_bar(position='Fill', aes(x = TenYearCHD, fill=factor(prevalentHyp))) +
labs(x= "TenYearCHD", y = "Proportion", title = "prevalentHyp and TenYearCHD", fill="prevalentHyp")