How to Create Bubble Charts in R with geom_point() and scale_size()

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 10

  • @Adeyeye_seyison
    @Adeyeye_seyison 9 месяцев назад +1

    I went through some of your videos on the 30Days Charts Challenge...
    They were really GREAT... value adding and top notch.
    Often times,you would give examples using base R and then tidyverse approach_ relatable, rich and real life datasets application.
    Thanks for all you do and represents. Thanks for the time, efforts and large heartedness to put them together for others learning and edification.
    God bless you and yours!

    • @TheDataDigest
      @TheDataDigest  9 месяцев назад +1

      Thanks for leaving such a long and lovely comment. I am really glad you liked the videos and found them helpful. I learned R before dplyr was a thing so I often fall back on base R code where I still feel quite comfortable at. Tidyverse/dplyr is usually more efficient and cleaner to program so it is good to learn both I guess :)

  • @tajamulislamshah8494
    @tajamulislamshah8494 2 года назад +2

    Thanks for this informative video. I was eagerly waiting...

    • @TheDataDigest
      @TheDataDigest  2 года назад +1

      Great to hear that my viewers are looking for more videos :)
      I was a bit behind the weekly upload schedule but hopefully get back on track in the future.

  • @forrestoakley4882
    @forrestoakley4882 Год назад +1

    Thank you! It is not only beatiful but also very useful.

    • @TheDataDigest
      @TheDataDigest  Год назад

      I appreciate you leaving a comment. I hope to make more useful videos in the future.

  • @AlexisMelo
    @AlexisMelo 2 года назад +2

    Always great contend!
    Thanks for bringing it to us so neatly.

    • @TheDataDigest
      @TheDataDigest  2 года назад

      Thanks for the comment. There is of course always more one could talk about and show.
      More examples or use cases and different formatting. But I think the videos should not be over 20 minutes.

  • @kisho2679
    @kisho2679 Год назад

    how can the size of the bubbles be shown as a 4th variable inside a xyz 3d-plot (each bubble being labeled and colour coded)?

    • @TheDataDigest
      @TheDataDigest  Год назад

      Hi, here I created a 3-dimensional scatterplot:
      twitter.com/DigestData/status/1514508623845728262
      Basically with this code:
      library(NHANES); library(plotly); library(tidyverse)
      df % filter(Age < 19) %>%
      select(Age, Height, Weight, BMI)
      axx %
      plotly::layout(scene = list(xaxis=axx))
      I think there would be options to impact the size of the scatterplot and label the points. Color coding is done by BMI in the example above.