ggplot2-book
ggplot2: elegant graphics for data analysis (by hadley)
cheatsheets
Posit Cheat Sheets - Can also be found at https://posit.co/resources/cheatsheets/. (by rstudio)
Our great sponsors
ggplot2-book | cheatsheets | |
---|---|---|
31 | 60 | |
1,505 | 5,596 | |
- | 1.5% | |
2.0 | 7.6 | |
4 days ago | 5 days ago | |
Perl | TeX | |
- | Creative Commons Attribution 4.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ggplot2-book
Posts with mentions or reviews of ggplot2-book.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-04.
-
Does anyone else absolutely love plotting their data
I also only recently started using ggplot after doing most of my graphs with base R‘s plot() function. I started by reading ggplot2 by Hadley Wickham which is also available as a free ebook. Reading the first few chapters is enough to enable you to plot many basic plots. I can’t imagine going back to any other visualization tool ever again. Absolutely love the freedom ggplot gives you.
-
I am starting to learn R and I love it. I would like to learn at least 1 another simmilar language. Which one(s) should I learn?
His ggplot book will teach you all you need to know about R plotting, and is probably right at your current level. It is likewise pretty great, ggplot
-
What are your favorite softwares for data visualization?
The OG book is still the best in my opinion! https://ggplot2-book.org/
- Data analysis skills before/in lieu of master’s program
-
How can I do this graph?
You could use base R, see ?plot but a lot of people would use ggplot2. However, looking at your data it won’t look very good because there’s going to be very few points per country.
-
Can someone explain how R project are organized and deployed?
If you included DESCRIPTION to your repository (like in ggplot2-book - https://github.com/hadley/ggplot2-book/blob/master/DESCRIPTION ) devtools::install_deps() and renv::install() will install dependencies listed there as would pip with requirements.txt , you can trigger this from your R script, from command line or from whatever deployment / automation tool you are using.
-
[Q] is majoring in stats a bad choice if i suck at programming?
Chapters 1-8 of https://adv-r.hadley.nz/, https://r4ds.had.co.nz/ , and https://ggplot2-book.org/ were covered in my statistical computing courses. I don't think it gets much more advanced than that at the undergrad level.
- How to add color?
-
How can I make a line graph!?
You can check out more about Ggplot2 here: https://ggplot2-book.org/
-
Ask HN: How would you spatialize higher dimensional data?
* "ggplot2: Elegant graphics for data analysis" : https://ggplot2-book.org/
cheatsheets
Posts with mentions or reviews of cheatsheets.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-24.
-
Tools a Data Scientist should know:
If you're an R user, stringr + its cheatsheet gets you very close to remembering what to do without needing to look further!
-
JSON to PDF Magic: Harnessing LaTeX and JSON for Effortless Customization and Dynamic PDF Generation
For more information on how to use ggplot2 and create charts consult the ggplot2 official page or the ggplot2 cheat graphic.
-
Best packages to learn?
I'd suggest you have a look at cheatsheets (or download them from GitHub) if you want to get to know your way around a package or set if functions, it saves you a lot of time.
-
How do I make these shapes (pictured below) in ggplot?
You could use geom_hline and geom_vline, geom_abline, or geom_segment for this. (The ggplot cheat sheet is very useful for answering these kinds of questions, BTW.)
-
Why does my scatter plot look like this?
I can't say for sure because I don't know what your ultimate aim is for your visualization. Check out the cheat sheet for ggplot2 here.
-
Import from Excel
Finally just do your analysis. You should also should give a try and see the cheat sheet for data importing on the tidyverse package.
-
[Request] How to best visualize percentages with R?
That said, when I’m trying to come up with an interesting way to visualize data, I find the ggplot cheat sheet very helpful: https://github.com/rstudio/cheatsheets/raw/main/data-visualization-2.1.pdf
-
Need help with variables
Here's a cheat sheet: https://github.com/rstudio/cheatsheets/blob/main/strings.pdf
-
Data manipulation in R
The cheat sheet of the stringr package should give you good overview of string manipulation/ regex in R.
-
I'm trying to recreate this plot but I keep failing
I would very highly recommend that rather than trying to get started by translating an existing graph, you check out some documentation about ggplot first. If nothing else, the ggplot cheat sheet from RStudio should help explain what the component parts of the code are, and that might help you figure out what you actually want to do.
What are some alternatives?
When comparing ggplot2-book and cheatsheets you can also consider the following projects:
r4ds - R for data science: a book
tidytuesday - Official repo for the #tidytuesday project
dtplyr - Data table backend for dplyr
forcats - 🐈🐈🐈🐈: tools for working with categorical variables (factors)
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
handson-ml2 - A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, Keras and TensorFlow 2.
mech - 🦾 Main repository for the Mech programming language. Start here!
ggplot2 - An implementation of the Grammar of Graphics in R
plotnine - A Grammar of Graphics for Python
reveal.js - The HTML Presentation Framework