Skip to main content
100%

birthday guesser

✓ Published0🌍 Public
EEE2dev
Last edited Sep 30, 2016
Created on Sep 29, 2016

This interactive visualization presents a birthday-guessing game in which a calendar highlights a subset of dates and the user answers yes/no questions. The tool displays a year grid, and each of nine cards recolors days according to a shuffled set of magic numbers; the user’s answers progressively narrow the possible dates. The code uses D3 v4 with SVG and animations, drawing calendars via `d3.timeDays`, `d3.timeFormat`, and a quantized color scale, and handles the interaction with click events that advance through the cards.

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

Similar vizzes