Skip to main content
100%

birthday guesser (unshuffled version)

✓ Published0🌍 Public
TThanaporn-sk
Last edited Jun 17, 2017
Created on Jun 17, 2017

A birthday-guessing game asks viewers to answer nine yes/no questions about whether their birthday appears on a series of calendars. The visualization renders 367 cards, each highlighting a subset of dates via colored rectangles on 2016 calendar grids. Using D3 v4, the code builds an SVG calendar layout with `d3.timeDays`, `d3.timeFormat`, and scale functions, then animates card transitions. Clicking yes or no circles advances through the card sequence, ultimately revealing the guessed date. The interface relies on hover effects and mouse events to drive the interactive puzzle.

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)

forked from <a href='http://bl.ocks.org/EE2dev/'>EE2dev</a>'s block: <a href='http://bl.ocks.org/EE2dev/c229c55b0fbead16ed68d9456be06a59'>birthday guesser (unshuffled version)</a>

mit Licensed

Similar vizzes