How to Create Parallel Plots in R with geom_line() and ggparcoord()

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • In this tutorial I will show you how to draw multiple lines in R with the geom_line() function and the ggparcoord() function.
    You can use these to highlight a group of lines for certain categories or highlight an individual response.
    Sometimes these chart types are also called Spaghetti plots.
    I will also go through the function arguments from the ggparcoord function that is provided by the GGally package.
    ⏱ Time Stamps ⌚
    0:00 - Intro and video overview
    0:32 - color multiple lines based on a category
    4:00 - highlight individual countries of the gapminder dataset
    7:35 - facet_wrap() to highlight 1 out of 9 African countries
    9:03 - GGally::ggparcoord function arguments
    External Links:
    r-graph-gallery.com/parallel-...
    r-graph-gallery.com/93-parral...
    www.data-to-viz.com/graph/par...
    r-charts.com/ranking/parallel...
    www.storytellingwithdata.com/...

ความคิดเห็น • 7

  • @ChaopengAng
    @ChaopengAng ปีที่แล้ว +1

    Very clear and systematic. Thank you!

    • @TheDataDigest
      @TheDataDigest  ปีที่แล้ว +1

      Thanks for leaving a comment. It really means a lot to me, when viewers find the videos helpful and understandable.

  • @guerschommugisho5569
    @guerschommugisho5569 ปีที่แล้ว +1

    Very interesting video. Thank you so much !

    • @TheDataDigest
      @TheDataDigest  ปีที่แล้ว

      My pleasure, thanks for leaving a comment. I want to do a few more R-Graph gallery tutorials in the future.

  • @krishnakumarganta198
    @krishnakumarganta198 9 หลายเดือนก่อน

    thanks

  • @Dataciiiiiiiii
    @Dataciiiiiiiii หลายเดือนก่อน

    if do clustering by kmeans then,i assign labels , and can use it to demonstrate how features affect our clustering? ill think abt use this on my report thanks sir , im new to all of these

  • @user-zv9tz1gv2u
    @user-zv9tz1gv2u ปีที่แล้ว

    geom_line() function and the ggparcoord() function.