How to create a kish grid like the attached image

Hello developers, I would like to know if anyone knows a way to implement a Kish Grid similar to the one in the attached image. In the example, if the person selects 7 in the household register and 4 in the persons eligible for collection, then the number chosen will be 1 in red. can you help me please?


@Aroberto, you could do this by following our support article Question Matrix Response Type.