Code
corr_res <- map(mtcars %>% select(-mpg), cor.test, y = mtcars$mpg)
library(broom)
corr_res %>% 
    map_dfr(tidy, .id = "predictor") %>% 
    ggplot(aes(x = fct_reorder(predictor, estimate))) + 
    geom_point(aes(y = estimate)) + 
    geom_errorbar(aes(ymin = conf.low, ymax = conf.high), width = .1) +
    labs(x = NULL, y = "Correlation with mpg")