What type of graph is this? And can it be created using ggplot2?

后端 未结 2 2052
被撕碎了的回忆
被撕碎了的回忆 2020-12-10 19:11

I have this chart that I\'m attempting to replicate. It has two continuous variables for the X & Y axes, and charts the relationship between these two variables through

2条回答
  •  悲哀的现实
    2020-12-10 20:05

    Use geom_path, i.e.

    libraray(ggplot2)
    ggplot(data, aes(x = Weekly_Hours_Per_Person, y = GDP_Per_Hour)) +
    geom_point() + 
    geom_path()
    

提交回复
热议问题