{"version":"1.0","type":"rich","title":"Basic seating arrangement solver","description":"This example demonstrates a basic seating arrangement solver that assigns ten people to four rooms with capacities of 2, 3, 4, and 5. It shows how constraints are enforced: each room’s occupant count must not exceed its capacity, and specific pairs and triples of people must be seated together according to defined wishes. The visualization exposes the `people` array, likely rendering each person’s room assignment. The code uses Array’s `countBy` method to tally occupants per room and defines invariant checks via custom functions `respectCapacity?` and `wishes?`, though no rendering library is specified.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-fb75e166d1aaba82fd644a0febf1573c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}