Visualize your data using ggplot. R programming is the best platform for creating plots and graphs.

Sdílet
Vložit
  • čas přidán 14. 07. 2024
  • This video is part of a series of videos that consider data analysis using R programming. It is primarily for beginners. In this video I talk about using R to visualise your data. Data visualization using R is best done using the ggplot (ggplot2) package. You'll learn the principles of creating plots and graphs to present your data including when to use a barplot, a histogram, a density plot, a scatter plot, a boxplot and more. The video focusses on understanding what plot to create depending on the data that you have (either categorical or continuous or a combination of the two). If you are interested in data analysis, statistical analysis then this series is for you. It starts with explore your data, then goes on to clean, manipulate and now visualize your data.
    A huge thanks to Nested Knowledge for supporting the creation of this video. I you are doing research of any kind, you'll need to do a literature review. Nested Knowledge allows you to create and share your systematic literature reviews online. Go to: nested-knowledge.com

Komentáře • 173

  • @RProgramming101
    @RProgramming101  Před 11 měsíci +3

    Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/courses/rprogramming-resource-library

  • @harshanagaraj5048
    @harshanagaraj5048 Před 2 lety +52

    in 2020, when I was first introduced to R for my master's degree, I only knew how to set a working directory :( I was asked to make a plot of my data and I could not do the simplest of graphs to show. Thankfully, I found this video and was able to conjure a decent graph but it was enough. Today, I do advanced stats on R. My point here, keep working on R every day and little by little you will have climbed a mountain!! Thanks for this video!!

    • @RProgramming101
      @RProgramming101  Před 2 lety +4

      Thanks for the comment Harsha! I agreee!!

    • @dreameasy3186
      @dreameasy3186 Před 2 lety

      @@RProgramming101 I've gone through each of your videos and love it! Disappointed there is no link at the end of this one. What happened?

    • @upheaveworker2108
      @upheaveworker2108 Před 10 měsíci

      Google this --> STHDA for R

  • @pkmitrabotany
    @pkmitrabotany Před 2 lety +35

    Way back 2 years ago, when I was struggling to learn R, I saw you gliding like breeze with ggplot2, that helped me a lot, keep making these nice videos, best wishes from another corner of the globe 😇🙏🙏

    • @RProgramming101
      @RProgramming101  Před 2 lety +1

      Great to hear! Thank you kindly for the wonderful feedback!

  • @atuhacrown
    @atuhacrown Před rokem +1

    I am an expert in R data analytics all because of this guy. Legend

  • @cheukyanwan4847
    @cheukyanwan4847 Před 2 lety

    Thanks so much for the video! I am an architecture student who always needs to visualize my data and I think the best thing about this video is to teach us when and why do we need to use certain graphs!!!!!!

  • @Tammy-AnnHusselman
    @Tammy-AnnHusselman Před rokem +3

    Thank you so so much for creating this video. You really helped me understand R so much better. I am learning the language for my PhD and it has been very difficult, but watching your videos and following along with you has helped me tremendously. Thank you so much!! I am forever grateful. Before this video, I couldn't produce a graph but now I can all thanks to your videos!! You're awesome and you make learning R really fun. THANK YOU!!!

  • @mohammadmusa8065
    @mohammadmusa8065 Před 2 lety +9

    Love the way you explain the related theories to the topic. You are so motivational.

  • @muhammedhadedy4570
    @muhammedhadedy4570 Před 2 lety

    You made my day. I wait for every single episode of your CZcams channel. Thank you so much for your great videos.

  • @opal-r2h
    @opal-r2h Před rokem

    Thanks for this, and for sharing about Nested Knowledge, really needed it now.

  • @Di.Official65
    @Di.Official65 Před 4 měsíci

    Thank you for the great quality content and vdos! you have saved one little soul to pass his first online quiz of Business Analytics this week!

  • @alexlev4631
    @alexlev4631 Před 2 lety +4

    I'm waiting for you like a christmas tree and fairy tail. Oh my, you have come at last, my magician R. It' s a real miracle! Thanks!

    • @GregMartin123
      @GregMartin123 Před 2 lety

      That is the nicest comment that I've read all day. Thanks!! You've made me smile!! :)

  • @bridgettsmith7206
    @bridgettsmith7206 Před rokem

    Thank you for the video. It is a nice overview of plotting with the tidyverse

  • @williamouma2045
    @williamouma2045 Před rokem

    this is an exceptionally great work, have gained more insights and new analytical techniques so keep it up and be blessed thank you.

  • @AI_4214
    @AI_4214 Před 2 lety +1

    Thank you for sharing, amazing graphs.

  • @upomarahman6654
    @upomarahman6654 Před 2 lety

    You are making learning of R so easy. Good soul you are ^_^

  • @sohaibezzi2223
    @sohaibezzi2223 Před 2 lety +1

    We really love this videos I hope you have course in Udemy in the future because your explanation and face expression is more enjoyable

  • @Shawn-gm4cf
    @Shawn-gm4cf Před 2 lety +1

    I've been using ggplot/ggpubr for about 6 months and you taught me some new stuff with the packages included in your cheat sheet. Thanks a ton as always!

    • @RProgramming101
      @RProgramming101  Před 2 lety +1

      Glad you liked it!! Thanks for the feedback!!

    • @upomarahman6654
      @upomarahman6654 Před 2 lety +1

      @@RProgramming101 Hi! where can I get the cheat sheet?

    • @dennisbazanye7189
      @dennisbazanye7189 Před 2 lety

      @@upomarahman6654 When you find it please let me know

    • @upomarahman6654
      @upomarahman6654 Před 2 lety +3

      @@dennisbazanye7189 at the last part there is a link on the top right corner. Click that.

  • @Schmelena
    @Schmelena Před 2 lety +1

    Great video as always!! 👍

  • @TakeFlow1
    @TakeFlow1 Před 2 lety

    I'm looking forward to the video on analyzing data!

  • @kvafsu225
    @kvafsu225 Před rokem

    Splendid presentation of ggplot

  • @leonelemiliolereboursnadal6966

    Keep posting these type of videos!

  • @tuhinsuryachakraborty
    @tuhinsuryachakraborty Před měsícem

    Thanks for this awesome explanatory video

    • @RProgramming101
      @RProgramming101  Před 26 dny

      You are welcome. Thanks for the comment and feedback.

  • @gemon39
    @gemon39 Před 2 lety +1

    Fantastic video! thanks a lot

  • @yusmanisleidissotolongo4433

    You are just a life saver. Thanks so very much!!!!!!!!!!!!!!!!!!!!!!!!

  • @daniellobo2921
    @daniellobo2921 Před 2 lety

    Great video as always 🤘🏻

  • @tripytaka9462
    @tripytaka9462 Před 2 lety +1

    I've failed and SQL and R paper twice! So pleased I have found your CZcams page. You make it easy to learn. Wish I had found it months ago. Do you have a channel that deals with SQL? Thanks Greg.

    • @etiniakpayang55
      @etiniakpayang55 Před 2 lety

      data camp would be a great source as you will be practicing as you learn.

  • @shantanutamuly6932
    @shantanutamuly6932 Před rokem

    Your explanation is excellent. I learnt lots

  • @anuptirpude7506
    @anuptirpude7506 Před rokem

    Awesome 👏!!

  • @coldwarifyful
    @coldwarifyful Před 2 lety +2

    I totally love your lectures sir. Sir, please make a series of R required for data analysis, probably including stats as well. My problem is I don't know how much R should I know before applying for data analysts jobs requiring R. You can answer my query in the reply as well.

    • @RProgramming101
      @RProgramming101  Před 2 lety +3

      hi there - I have videos on stats comming up. I don't know how much R you need to get a job as a data analyst. I work in healthcare and am not very familiar with that job market (sorry). Thanks for your lovely comment and feedback though. Much apprecaited.

    • @maralm3501
      @maralm3501 Před 2 lety

      @@RProgramming101 I work in healthcare too, sir. What would you say for healthcare, how much R should I know to get a job as a healthcare data analyst? BTW, loooove love your videos on R, please keep it up! Thank you!

    • @coldwarifyful
      @coldwarifyful Před 2 lety

      @@RProgramming101 okay. Thank you for your reply. Love from India.

    • @Classical741
      @Classical741 Před rokem

      ​@@RProgramming101 In future, perhaps you would be kind enough to not use background music? It would be much appreciated.

  • @peteradu5103
    @peteradu5103 Před 2 lety

    Nice video… please can you make a video of who to use Rasch analysis and network analysis

  • @djangoworldwide7925
    @djangoworldwide7925 Před 2 lety +3

    You're fantastic, do pay attention that the window you appear in hides a lot of the data you explain

  • @michaelmakomere1515
    @michaelmakomere1515 Před 2 lety +1

    Thanks 👍

  • @adrian27feb
    @adrian27feb Před rokem +1

    good video

  • @dawn123ish
    @dawn123ish Před 2 lety +1

    Amazing video as usual! I was looking for the link. Would you mind adding it into the description? Thanks!!

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Thank you for the feedback. Link to the cheat sheet's here colossal-painter-6909.ck.page/46d1729ca2

    • @baburamchaudhary159
      @baburamchaudhary159 Před 2 lety

      @@RProgramming101 Sir, have you used Latex to create this pdf (DataVis-Cheat-Sheet) or anything else, please share us?

  • @anyijukamark8257
    @anyijukamark8257 Před rokem

    thanks indeed, these vids have made me a bit comfortable with r.
    though I will be grateful if you share the link to the cheatsheet.
    be blessed

  • @NattyGism
    @NattyGism Před rokem

    Greg my data hero😍

    • @RProgramming101
      @RProgramming101  Před rokem

      You are too sweet Natty - thanks! :)

    • @NattyGism
      @NattyGism Před rokem

      @@RProgramming101 I came across a Volcano plots. You could consider making a video of one

  • @Simon54236
    @Simon54236 Před rokem +1

    I've checked my email several times and even my spam folder. Unfortunately I'm unable to get your cheat sheet :(

  • @renod42
    @renod42 Před 2 lety

    What is your philosophy of putting aes on ggplot versus geom_point ?

  • @gonzalosanchezgarcia9136

    Hi Greg! Awesome video again! I´m learning a lot using your content so thank you very much.
    Where can I find the cheatseet you mention? It might have been deleted.
    Thank you!!

    • @RProgramming101
      @RProgramming101  Před rokem

      Hi there, Gonzalo. Thank you for your amazing feedback - you can the cheat sheet at the end of the video. Cheers!

  • @urmimalapaul2807
    @urmimalapaul2807 Před rokem

    Please do more videos and higher and advanced R programming. You taught me from 0, and now I am able to tell that I know R programming like others, Thank you so much. Please provide the cheat sheet, already tried the link you have given in the comment section but didn't receive any, also checked the spam folder. Kindly help.

    • @RProgramming101
      @RProgramming101  Před rokem

      Thanks for the feedback. Much appreciated. I'm glad that you found it helpful. 🙌🤩 The cheat sheet is at the end of the video, thanks again!

  • @angelajeanhamilton7147

    I was wondering how to pick the colour used in the graph when using it to visually represent a third variable? I was hoping to have a more stark colour scale to really show to the difference. Thanks!

  • @shazam2080
    @shazam2080 Před 2 lety +3

    Can you please share the link to the cheat sheet? I can't find it on your video description

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Hi Shazam! Sure. It's at the end of the video but provided it here too colossal-painter-6909.ck.page/46d1729ca2

  • @oncoproteine
    @oncoproteine Před 2 lety

    Could you please make a video about creating age from two columns of dates in a data set? I'll be grateful.
    It's hard for me to understand how to create age and not to lose the ID's from the case/participant. Help!

  • @dr.anoopkumar3967
    @dr.anoopkumar3967 Před rokem

    Nice video sir. Can you suggest any good book on ggplot?

  • @dopamining6932
    @dopamining6932 Před 2 lety

    Is there a keyboard shortcut for %in%? I love ctrl+shift+m for the pipe operator lol

  • @LastRolo0
    @LastRolo0 Před 2 lety +1

    🏆

  • @youssefrefaat1594
    @youssefrefaat1594 Před 2 lety

    Sir thank for the great work
    Do you have content on SPSS/Python?

  • @raylsonmello6742
    @raylsonmello6742 Před 2 lety +1

    this class is so good!
    Can you make the script available?

    • @RProgramming101
      @RProgramming101  Před 2 lety +1

      Hi there - yes the script is on the cheat sheet that you can download for free

    • @RProgramming101
      @RProgramming101  Před 2 lety +1

      Here is the link: colossal-painter-6909.ck.page/46d1729ca2

  • @LightHouse31073
    @LightHouse31073 Před 2 lety +3

    Great tutorial. Can I please get the link to the cheat sheet?

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Thank you for the feedback. Link to the cheat sheet's here colossal-painter-6909.ck.page/46d1729ca2

  • @vrajtalati5300
    @vrajtalati5300 Před 2 lety

    how to change the color band other than light blue to blue?
    what if I want to assign different colors of years.. how to do that sir?

  • @johnsonan2359
    @johnsonan2359 Před rokem

    Pls share the very last information about other plots code or the download link. Thank you very very much.😄

  • @toddczenner
    @toddczenner Před 2 měsíci

    How do you do the stacked distributions?

  • @AntonioHernandezEspriu
    @AntonioHernandezEspriu Před 2 lety +1

    Hi! Excellent video! I'm sorry but I couldn´t find the R code in the description to produce Density Plots of the temperature dataset. Can you please share the link within the video description? Thanks a lot! GREAT VIDEO!

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Hi there - you can download the script here: colossal-painter-6909.ck.page/46d1729ca2

    • @AntonioHernandezEspriu
      @AntonioHernandezEspriu Před 2 lety

      @@RProgramming101 Thank you!

    • @moisengwa9904
      @moisengwa9904 Před 2 lety

      Hi Antonio,
      Did you get the cheat sheet? Please kindly let me know. This link below takes you to a page that asks for an email. But I don't get the cheat sheet even though I put in my name and email.

  • @hoangnguyenhuy3500
    @hoangnguyenhuy3500 Před rokem +1

    This is actually amazing video about ggplot in R, thanks alot. However, when i use your cheatsheet link u provided, i haven't seen anything that sent to my email, can u fix this?

  • @ahmed007Jaber
    @ahmed007Jaber Před 2 lety

    Thank you for this. I am doing frequency bar plots and got 250k points and thus counts are long
    When i plot they grt missed up
    How to fix the labels of y scales?

  • @pinyichang4680
    @pinyichang4680 Před 2 lety

    love

  • @galdadi
    @galdadi Před rokem

    Can you make a video on kaplan meier curves and cumulative incidence using R?

  • @riteshsharma3627
    @riteshsharma3627 Před 2 lety

    R runs slow in rstudio desktop. Any solutions? I'm a beginner

  • @higherconsequences5142

    Anyone see the link that was mentioned of the code?

  • @MohammadSaleem-vl8sn
    @MohammadSaleem-vl8sn Před 2 lety

    Machine learning approach in r software please make tutorial

  • @PhutoTuni12
    @PhutoTuni12 Před 2 lety

    Also I am not able to view gapminder or lincon temperature data set

  • @kofiaful133
    @kofiaful133 Před 11 měsíci

    Please can you show us how to add two numerical and one categorical

  • @aaronadeboye4626
    @aaronadeboye4626 Před rokem

    I’m curious, would these graphics be too grandiose for a scientific publication?

  • @chouchoulin1069
    @chouchoulin1069 Před rokem

    Hey Dr.Martin, thank you for your R videos. They really help me a lot in starting R learning. I opened the link you offered and tried more than 3 emails but still cannot get the CheatSheet, even checked my spam folder. Could you please send me in any other way?

    • @RProgramming101
      @RProgramming101  Před rokem

      So happy to hear that! You are most welcome and apologies for the inconvenience.
      You can find the cheat sheet here: colossal-painter-6909.ck.page/46d1729ca2
      Thanks!

    • @juliuskasberger
      @juliuskasberger Před rokem

      @@RProgramming101 Hi Greg! Same thing happened to me- even though I tried several times, I do not receive an email with the cheat sheet! your videos are great!

  • @B0bSim0n
    @B0bSim0n Před rokem

    When i filter with filter(gdpPercap < 30000) %>% it says Error in filter blabla : object "gdpPercap" not found.

  • @karikoga320
    @karikoga320 Před rokem

    Which type plot is the Weight of chicken by feed group

  • @r.hainez2131
    @r.hainez2131 Před 2 lety

    Hello, thank you for this video. At the end, you talk about a link to donwload the DataVis Cheat Sheet but there is no link provided in the description. Could you please add it? :)

    • @RProgramming101
      @RProgramming101  Před 2 lety

      oh - I am so sorry - the link is right at the end of the video as an end card (on the screen). Let me know if you can't find it and I'll just put the link in here

    • @r.hainez2131
      @r.hainez2131 Před 2 lety

      @@RProgramming101 It does not seem to work for me, I will try again

    • @r.hainez2131
      @r.hainez2131 Před 2 lety

      @@RProgramming101 ok, I had to restart but it works as intended, thank you

  • @MuhammadShaan-oj9lf
    @MuhammadShaan-oj9lf Před měsícem

    really good video....but cant find the cheat sheet..:(

  • @kyrshan3433
    @kyrshan3433 Před rokem

    Learning so much. Please provide the link for the cheat sheet. I’m unable to find the link. Thanks

    • @RProgramming101
      @RProgramming101  Před rokem

      Glad you find it helpful, Kyr. I have the cheat sheet available that you can get at the end of my video. Thanks

    • @kyrshan3433
      @kyrshan3433 Před rokem

      @@RProgramming101 Ah I've, got it. Had to reopen the video on another device. It seems links don't pop up on downloaded videos. These videos are so good I download each an every one of them. Thanks again!

  • @leoperez6737
    @leoperez6737 Před rokem

    I couldn´t get the cheat sheet. I used 3 email account but I didn't get anything. Is there any other way I could see them?

    • @RProgramming101
      @RProgramming101  Před rokem

      Hi there - I have the cheat sheet available that you can get at the end of my video. You may also check your spam folder in case it went there instead. Thanks

  • @rana2804
    @rana2804 Před 2 lety

    Hello, I did not find the gapminder data in tidyverse library

    • @RProgramming101
      @RProgramming101  Před 2 lety

      you need to install.packages("gapminder")

    • @rana2804
      @rana2804 Před 2 lety

      @@RProgramming101 Thanks!, it worked.

    • @vlasiuradu5963
      @vlasiuradu5963 Před 2 lety +1

      @@RProgramming101 Hello, I have the library(tidyverse) and also install.packages("gapminder") running I can view the file. However, I can not find or filter the gdpPercap , lifeExp or any of the other headers. I get Error in filter(gdpPercap < 30000) : object 'gdpPercap' not found. What am I doing wrong? Thank you!

    • @B0bSim0n
      @B0bSim0n Před rokem

      @@vlasiuradu5963 I have the same problem. Did you find a solution?

  • @PhutoTuni12
    @PhutoTuni12 Před 2 lety

    May I know how to access the echit?

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Hi Ankush It's at the end of the video but provided it here too colossal-painter-6909.ck.page/46d1729ca2

  • @azizmouhanna8996
    @azizmouhanna8996 Před rokem

    thanks, but i could not find the link to download the script :(

    • @RProgramming101
      @RProgramming101  Před rokem

      hi there - I have the code available for all of these graphics on a Cheat Sheet that you can get at the end of my Data Visualisation video. Thanks!

  • @ahsanfarooqi6637
    @ahsanfarooqi6637 Před 2 lety

    hi, where is the link to download cheat sheet??

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Sorry - its at the end of the video as an end card (on the screen)

  • @Oliver-Lewis
    @Oliver-Lewis Před rokem

    i dont understand, my tutor cant explain this to me in a way that makes sense and i have no idea how to transfer this information, sure i can copy your code nd recreate it and i understand how it all works but i need to create graphs like this using my own data that i have imported from excel??????????
    i cant do that when all this datas bulit in and comes through packages and the formatting seems to be completely different

  • @ashcocco3230
    @ashcocco3230 Před 2 lety

    I think the cheat sheet form is broken. I've tried two email addresses and did not receive it.

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Hi Ash, apologies for the inconvenience. Have you checked your spam/junk folder? Let me look into this. Thank you for your patience.

  • @furaosentu
    @furaosentu Před 2 lety

    great video, but the sound was much more pleasant in the other videos. the Ss are very sharp in this one. not ideal for headphones.

  • @higherconsequences5142
    @higherconsequences5142 Před 2 lety +1

    The video said the link was available, but it's nowhere in sight. Maybe the guy was trying to point people to his company website, which I have no interest in seeing.

  • @samsilarifeen2367
    @samsilarifeen2367 Před 2 lety

    theres no link for the cheat sheet

    • @RProgramming101
      @RProgramming101  Před 2 lety

      Hi Samsil. It's at the end of the video but provided it here too colossal-painter-6909.ck.page/46d1729ca2

  • @moisengwa9904
    @moisengwa9904 Před 2 lety

    Hi There,
    I have watched this video over 7 times and requested the cheat sheet each time but have not received it yet. Could you please kindly send me the cheat sheet?
    Thanks.

  • @alirezasadeghi2975
    @alirezasadeghi2975 Před 8 měsíci

    Why background music?!

  • @Observe411
    @Observe411 Před 3 měsíci

    The noises for highlights and screen shifts is distracting.

  • @keiraferrari7764
    @keiraferrari7764 Před 6 měsíci

    Zooming in makes your shared screen much less legible. It becomes pixilated making it harder to read.

  • @sandrayeats5051
    @sandrayeats5051 Před 7 měsíci

    Don't try and sign up for anything or the cheat sheet you basically get nothing without a membership

  • @mulugetamaru
    @mulugetamaru Před rokem

    Sorry, where is the cheetsheet?

    • @RProgramming101
      @RProgramming101  Před rokem

      hi there - I have the code available for all of these graphics on a Cheat Sheet that you can get at the end of my Data Visualisation video. Thanks!

  • @rompstar
    @rompstar Před rokem

    "don't do drugs" hahahahaha!

  • @dreameasy3186
    @dreameasy3186 Před 2 lety +1

    Ok looks like my comment got deleted. That's not cool Greg, I'm just a lil PhD candidate guy trying to make more graphs and help you help your people. I got your cheat sheets and then immediately unsubscribed to your mailing list. Dang, what a sad moment.

    • @RProgramming101
      @RProgramming101  Před 2 lety

      I haven't deleted any comments from this channel.

    • @dreameasy3186
      @dreameasy3186 Před 2 lety

      @@RProgramming101 dang you really doing this huh

  • @MichaelKingsfordGray
    @MichaelKingsfordGray Před 2 lety

    I want my money back!

  • @joto1580
    @joto1580 Před 2 lety

    I think python is better than R

    • @cheickoumarkouyate8445
      @cheickoumarkouyate8445 Před 2 lety

      I don't agree with you.
      In my opinion, people don't explore the full potential of R

    • @joto1580
      @joto1580 Před 2 lety

      @@cheickoumarkouyate8445 well if we talk about potential, i think python has much more. you can build entire websites/dashboards with python and do all the visualization in the same environment...
      and visualizations: there is interactive plotly graphs, graphviz, NetworkX and off course matplotlib ... and many many more libraries for graphs.. and you can combine this visualization with data processing, like Pandas and crazy statistics features, sci-kit-learn for machine learning and much much more... did you check all this things? its crazy, i am telling you .. i also know R a bit (not fully) but i don't see how R can deliver as much potential as Python can.

    • @yaweli2968
      @yaweli2968 Před rokem

      @@joto1580 : I think your argument is ambiguous. Better in what sense? If you are talking about data analysis, visualization and writing of reports, more like what a data scientist will do, then python won’t even put up a challenge to R. It won’t matter wish IDE you are working on, R is just cleaner than python. However, you are talking about an overall universe of programming and using different applications for different purposes, then of course python is your go to guy. R isn’t meant to do what python is designed to do, so why even bring up that argument!

  • @casualgamer1791
    @casualgamer1791 Před 2 lety

    "Boomshakalaka"?! aaaand I am out.