Zovo Venn

v1.0.0
io.github.theluckystrike/venn-diagram Checked 15 hours ago Published 24 days ago

Compares 2 or 3 lists and draws a Venn diagram, with a CSV table of the region of each item.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

make_venn Make Venn diagram

Use this when the user wants a Venn diagram of 2 or 3 lists or groups, for example "Venn diagram of these two customer lists" or "draw the overlap of skills for 3 candidates". Takes 2 or 3 named sets of items (up to 500 per set, 80 characters per item) or only region counts, a layout (symmetric, or proportional for 2 sets) and a case option. Returns the count of each region, which items are drawn, a check that each drawn label sits inside its region, an interactive diagram, and SVG, PDF and CSV downloads. Does not read files or images, and does not draw 4 or more sets. Lists are not kept after…

ParameterTypeDescription
case_sensitivebooleanfalse (default): "Apple" and "apple" are the same item. true: case matters.
layoutstringsymmetric (default): circles of equal size, areas not to scale. proportional: 2 sets only, both with at least one item, circle and overlap areas to scale with the counts.
region_countsobjectUse when only the counts are known, not the items. Keys name one region each: 2 sets a, b, ab; 3 sets a, b, c, ab, ac, bc, abc (a = only the first set; ab = in the first and second set but not the thi…
set_namesarrayOnly with region_counts: the 2 or 3 set names in order a, b, c, e.g. ["Email","SMS"].
setsarray2 or 3 named lists to compare. Each set: {"name":"Team A","items":["Ann","Bo","Cy"]}. Names up to 40 characters; up to 500 items per set, each up to 80 characters. Give this or set_names with region_c…
titlestringDiagram title, e.g. "Skills of two candidates". Up to 80 characters. Default: the set names joined with "vs".

compare_lists Compare lists

Use this when the user wants to know which items 2 or 3 lists share and which are unique, without a diagram, for example "which names are on both lists" or "compare these three guest lists". Takes 2 or 3 named lists (up to 500 items each, 80 characters per item) and a case option. Returns each region (only A, only B, A and B, ...) with its count and items, the overlap percentage for each pair, and a CSV with each item's region. Does not read files, does not fuzzy-match spellings, and does not draw a diagram.

ParameterTypeDescription
sets *array2 or 3 named lists to compare. Each set: {"name":"Team A","items":["Ann","Bo","Cy"]}. Names up to 40 characters; up to 500 items per set, each up to 80 characters.
case_sensitivebooleanfalse (default): "Apple" and "apple" are the same item. true: case matters.