Charts
TwVennDiagramChart
TwVennDiagramChart is a Blazor Venn diagram: up to three sets as equal overlapping circles, with the shared count where each pair meets.
Last updated
Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at
https://github.com/twblazor/twblazor/issues.
Basic usage
TwVennDiagramChart draws each ChartSet as a circle and overlaps them all. A ChartSetIntersection names two sets and how many elements they share; that number is written where the two circles meet.Two sets
With two sets the circles sit side by side. Intersections can name their sets in either order.
Missing overlaps
A Venn diagram always draws every possible overlap. A pair with no intersection given still overlaps on the plot but shows no number. To draw only the overlaps that exist, with circles sized by their sets, use TwEulerDiagramChart.
When to use
Use a Venn diagram to show which sets overlap. The circles are all the same size, so read the numbers, not the areas. Up to three sets are drawn, and sets with no size are left out. To size the circles by their sets, use TwEulerDiagramChart.
Summary
Tooltips and the table view give the size of each set and of each overlap.