Pi in the Sky

Elegant new visualization maps the digits of pi as a star catalogue

Join Our Community of Science Lovers!

This article was published in Scientific American’s former blog network and reflects the views of the author, not necessarily those of Scientific American


The mind of Martin Krzywinski is a rich and dizzying place, teeming with fascinating questions, ideas, and inspiration. Krzywinski is a scientist and data visualizer whose primary line of work involves genome analysis for cancer research. In his spare time, though, he explores his many different interests as a scientific and visual thinker through creative projects. For the past few years, one such project has occupied him on a recurring basis each March: reimagining the digits of pi in a novel, science-based, and visually compelling way.

Today, this delightful March 14th ("Pi Day") tradition brings us the digits of pi mapped onto the night sky, as a star catalogue. Like the infinitely long sequence of pi, space has no discernible end, but we earthbound observers can only see so far. So Krzywinski places a cap at 12 million digits and groups each successive series of 12 numerals to define a latitude, longitude and brightness, resulting in a field of a million stars, randomly arranged. 

Just as humans throughout history have found figures and narratives among the stars, this new array of celestial bodies also yields a story. As a way to honor our evolutionary ancestors, Krzywinski connects the dots to create shapes of extinct animals from around the globe.


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


Carée projection of “Pi in the Sky” star chart
Credit: Martin Krzywinski

But he couldn’t possibly stop there, so Krzywinski takes the visualization a step further, experimenting with different projections to re-create the map in various spatial iterations.

Azimuthal projections of “Pi in the Sky” star chart
Credit: Martin Krzywinski

Hammer/Aitoff projection of “Pi in the Sky” star chart
Credit: Martin Krzywinski

To read more about the visualization, including descriptions of the animals depicted, and a poem written by the artist’s collaborator Paolo Marcazzan, visit Martin Krzywinski’s website. There, you can also explore his previous Pi Day visualizations and even purchase them as posters.

Amanda Montañez is senior graphics editor and been at Scientific American since 2015. She produces and art directs information graphics for the Scientific American website and print magazine. Montañez has a bachelor's degree in studio art from Smith College and a master's in biomedical communications from the University of Toronto. Before starting in journalism, she worked as a freelance medical illustrator. Follow her on Bluesky @unamandita.bsky.social

More by Amanda Montañez

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe