Generate an area-proportional SVG for a 2- or 3-set RegionResult
Source:R/proportional.R
generate_proportional_svg.RdCircle sizes and inter-circle distances are solved analytically (2-set, exact) or by triangulation (3-set, approximate) so that overlap areas match the requested intersection counts. The returned SVG matches the 44-model schema: ShapeA-I, NameA-I, Count_*, CountSUM_*, Bullet* elements are all present and addressable via xml2.
Usage
generate_proportional_svg(
result,
width = .PROP_DEFAULT_WIDTH,
height = .PROP_DEFAULT_HEIGHT
)