Charlie and the Chocolate Factory is a 2005 musical fantasy film directed by Tim Burton, based on the novel by Roald Dahl. The story revolves around a boy named Charlie who wins a golden ticket to tour the eccentric Willy Wonka's extraordinary chocolate factory.