<Tr> <Th> Budget </Th> <Td> $25 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $233.4 million </Td> </Tr> <P> Hidden Figures is a 2016 American biographical drama film directed by Theodore Melfi and written by Melfi and Allison Schroeder, based on the non-fiction book of the same name by Margot Lee Shetterly about black female mathematicians who worked at the National Aeronautics and Space Administration (NASA) during the Space Race . The film stars Taraji P. Henson as Katherine Johnson, a mathematician who calculated flight trajectories for Project Mercury and other missions . The film also features Octavia Spencer as NASA supervisor Dorothy Vaughan and Janelle Monáe as NASA engineer Mary Jackson, with Kevin Costner, Kirsten Dunst, Jim Parsons, Glen Powell, and Mahershala Ali in supporting roles . </P> <P> Principal photography began in March 2016 in Atlanta and was wrapped up in May 2016 . Hidden Figures was released on December 25, 2016, by 20th Century Fox, received positive reviews from critics and grossed $230 million worldwide . It was chosen by National Board of Review as one of the top ten films of 2016 and was nominated for numerous awards, including three Oscar nominations (Best Picture, Best Adapted Screenplay and Best Supporting Actress for Spencer) and two Golden Globes (Best Supporting Actress for Spencer and Best Original Score). It won the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture . </P>

Who was the movie hidden figures based on
find me the text answering this question