Skip to content

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

@nh-codem

Description

@nh-codem

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))
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions