Charlie and the Chocolate Factory is a children's book by British author Roald Dahl. The story features the adventures of young Charlie Bucket inside the chocolate factory of eccentric confectioner Willy Wonka. The story was originally inspired by Roald Dahl's experience of chocolate companies during his schooldays.