Ciyo · original working example
Two-set membership check
Eight fictional coded items. A = red label; B = round shape. Circle area is decorative and does not encode count. Include the items outside both sets. The table and SVG are separate snapshots. Editing table cells does not redraw the SVG; update both sources to keep them consistent.
A only: 2 · Both: 2 · B only: 2 · Neither: 2 · Total: 8
| Item ID | Red label (A) | Round shape (B) | Region |
|---|---|---|---|
| I01 | Yes | No | A only |
| I02 | Yes | No | A only |
| I03 | Yes | Yes | Both |
| I04 | Yes | Yes | Both |
| I05 | No | Yes | B only |
| I06 | No | Yes | B only |
| I07 | No | No | Neither |
| I08 | No | No | Neither |