Circle Packing with R

How can I create this circle packing with R? can anyone help me with this issue?

If you Google "circle packing with R", what are the top links?

What do you mean by "not working"?

Have you tried to read and understand the error message? Sharing the error is usually a big part of getting help.

Also did you try running the example as-is, not with your data but with the example data?

I tried with example data several times.
it shows "could not find circleProgressivelayout functions"
shows "object packing could not found"
shows "data.gg not found"

I have tried , I have found error in this three lines...

I think you need to install the package and load the library

install.packages("packcricles")
library(packcircles)
install.packages("ggplot2")
library(ggplot2)
install.packages("viridis")
install.packages("viridisLite")
library(viridis)
install.packages("ggiraph")
library(ggiraph)

anything else I need to install or calling library???

I believe that's a typo

I don't understand. can you explain?

the letter i and the letter r in what you wrote are the wrong way around.
circle is not cricle

OHHh.. year .. that's spelling mistake..Thank you

Now, I have tried with exact code with from google I found , but there is one error and it is showing error in ggplot, what is it ?

you know I cant see your screen right?...Honestly, I've found helping you to be a bit frustrating...
why dont you paste the text of your code and the error here?

I am really sorry to bother you. Thank you for your help. I really appreciate your help. Thanks again.

You should feel welcome to seek assistance, but always put your self in the shoes of who you are seeking help from. Provide what would be reasonable to provide. code and data. Maybe not today, but in your spare time have a look at this, if you need help in the future you will get the best service by taking this practice to heart.

FAQ: How to do a minimal reproducible example ( reprex ) for beginners

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.


I found this , but it is not working.

I made a data frame with my own data and then I use this code to create circle pack but it is not working.

Are you saying that you get an error printed to your console?

Yeah, that's right. Is there any simple way to make this circle pack. ?