Skip to main content
100%

birthday guesser (unshuffled version)

✓ Published0🌍 Public
EEE2dev
Last edited Nov 9, 2016
Created on Oct 12, 2016

The visualization presents a set of nine monthly calendars, each highlighting a subset of days, which together encode a birthday through independent yes/no questions. A user answers whether their birthday appears on each calendar, and the code uses those answers to narrow the possibilities. The visualization uses D3.js v4 to render the calendars as SVG and animates the sequence of questions. The unshuffled version displays the days in their natural calendar order, allowing the user to track the guessing process step by step.

AI-generated description

Here is the puzzle, I address with this block:

Can you guess a birthday (just 1 out of 366 days, i.e. no year) under the following conditions:

  • just ask 9 yes/no questions
  • all questions must be independent, i.e. one question must not depend on an answer of a previous question
  • answering the questions should be straight forward, i.e. any 6-year old kid can answer them

(unshuffled version)

Similar vizzes