Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Custom Scaling of Circle Radii Based on Set Size Transformations (e.g., Logarithmic)? #113

Open
nh-codem opened this issue Sep 14, 2024 · 0 comments

Comments

@nh-codem
Copy link

I would like to request a feature that allows for scaling the circle radii in eulerr diagrams based on custom parameters, such as the logarithmic size of the input sets. While the current implementation effectively visualizes set intersections, it would be extremely useful if users could dynamically adjust the circle size using a transformation of the set sizes (e.g., logarithmic scaling), especially when the set sizes differ greatly. This would help provide a more visually informative and balanced representation of the data, without larger sets overwhelming smaller ones.

Like that:

item.list = list( A =1:10, B = 9:100)
plot(euler(item.list), 
                      quantities = list(type = c("counts")),
                      size = list(size= log(lengths(item.list ) + 1)),
                      fill = list(fill = cm.map, alpha = c(0.7, 0.7, 0.7, 0.7)),
                      labels = list(fontface = "normal", fontsize = 10))
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant