2025 π Day latest news buy art
Love itself became the object of her love.Jonathan Safran Foercount sadnessesmore quotes
very clickable

visualization + design

Like paths? Got your lines twisted in a bunch?
Take a look at my 2014 Pi Day art that folds Pi.

Hilbert Curve Art, Hilbertonians and Monkeys

I collaborated with Scientific American to create a data graphic for the September 2014 issue. The graphic compared the genomes of the Denisovan, bonobo, chimp and gorilla, showing how our own genomes are almost identical to the Denisovan and closer to that of the bonobo and chimp than the gorilla.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca

Here you'll find Hilbert curve art, a introduction to Hilbertonians, the creatures that live on the curve, an explanation of the Scientific American graphic and downloadable SVG/EPS Hilbert curve files.

Hilbert curve art posters

There are wheels within wheels in this village and fires within fires!
— Arthur Miller (The Crucible)

Recursive art. Same line. A variety of styles. Font is Gotham Light.

You can download the basic curve shapes for orders 1 to 10 and experiment yourself. Both square and circular forms are available.

Hilbert curve orders 1–5

Art work of low-order Hilbert curves, up to order 5.

orderpointssegmentslength
`n``4^n``4^{n-1}``2^n-2^{-n}`
1 4 3 1.5
2 16 15 3.75
3 64 63 7.875
4 256 255 15.9375
5 1,024 1,023 31.96875
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
First 4 orders of the space-filling Hilbert curve. (BUY ARTWORK)
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
First 4 orders of the space-filling Hilbert curve. Each curve is mapped onto a circle instead of a square. (BUY ARTWORK)
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
First 4 orders of the space-filling Hilbert curve. Each is rotated by 90 degrees clockwise with respect to its previous order. (BUY ARTWORK)
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
First 4 orders of the space-filling Hilbert curve. Curves are drawn with thick strokes with the same distance between adjacent strokes for each order. The blue and orange simultaneous contrast is purposeful. (BUY ARTWORK)
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
The relationship between the first 5 orders of the Hilbert curve. Each corner of the large square contains orders 1–4. The square itself is filled with a curve of order 5 at 2x its original size. Notice how the order 4 curve fits exactly into a quadrant of the order 5 curve. (BUY ARTWORK)
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
First 4 orders of the space-filling Hilbert curve. The thickness of the curve for each order is the same as the space within it. The blue and orange simultaneous contrast is purposeful. (BUY ARTWORK)
Hilbert curve art and posters. / Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca buy artwork
First 4 orders of the space-filling Hilbert curve. This would go nicely with a tatami and katana. (BUY ARTWORK)
news + thoughts

Beyond Belief Campaign BRCA Art

Wed 11-06-2025

Fuelled by philanthropy, findings into the workings of BRCA1 and BRCA2 genes have led to groundbreaking research and lifesaving innovations to care for families facing cancer.

This set of 100 one-of-a-kind prints explore the structure of these genes. Each artwork is unique — if you put them all together, you get the full sequence of the BRCA1 and BRCA2 proteins.

Propensity score weighting

Mon 17-03-2025

The needs of the many outweigh the needs of the few. —Mr. Spock (Star Trek II)

This month, we explore a related and powerful technique to address bias: propensity score weighting (PSW), which applies weights to each subject instead of matching (or discarding) them.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Propensity score weighting. (read)

Kurz, C.F., Krzywinski, M. & Altman, N. (2025) Points of significance: Propensity score weighting. Nat. Methods 22:1–3.

Happy 2025 π Day—
TTCAGT: a sequence of digits

Thu 13-03-2025

Celebrate π Day (March 14th) and sequence digits like its 1999. Let's call some peaks.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
2025 π DAY | TTCAGT: a sequence of digits. The digits of π are encoded into DNA sequence and visualized with Sanger sequencing. (details)

Crafting 10 Years of Statistics Explanations: Points of Significance

Sun 09-03-2025

I don’t have good luck in the match points. —Rafael Nadal, Spanish tennis player

Points of Significance is an ongoing series of short articles about statistics in Nature Methods that started in 2013. Its aim is to provide clear explanations of essential concepts in statistics for a nonspecialist audience. The articles favor heuristic explanations and make extensive use of simulated examples and graphical explanations, while maintaining mathematical rigor.

Topics range from basic, but often misunderstood, such as uncertainty and P-values, to relatively advanced, but often neglected, such as the error-in-variables problem and the curse of dimensionality. More recent articles have focused on timely topics such as modeling of epidemics, machine learning, and neural networks.

In this article, we discuss the evolution of topics and details behind some of the story arcs, our approach to crafting statistical explanations and narratives, and our use of figures and numerical simulations as props for building understanding.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Crafting 10 Years of Statistics Explanations: Points of Significance. (read)

Altman, N. & Krzywinski, M. (2025) Crafting 10 Years of Statistics Explanations: Points of Significance. Annual Review of Statistics and Its Application 12:69–87.

Propensity score matching

Mon 16-09-2024

I don’t have good luck in the match points. —Rafael Nadal, Spanish tennis player

In many experimental designs, we need to keep in mind the possibility of confounding variables, which may give rise to bias in the estimate of the treatment effect.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Propensity score matching. (read)

If the control and experimental groups aren't matched (or, roughly, similar enough), this bias can arise.

Sometimes this can be dealt with by randomizing, which on average can balance this effect out. When randomization is not possible, propensity score matching is an excellent strategy to match control and experimental groups.

Kurz, C.F., Krzywinski, M. & Altman, N. (2024) Points of significance: Propensity score matching. Nat. Methods 21:1770–1772.

Understanding p-values and significance

Tue 24-09-2024

P-values combined with estimates of effect size are used to assess the importance of experimental results. However, their interpretation can be invalidated by selection bias when testing multiple hypotheses, fitting multiple models or even informally selecting results that seem interesting after observing the data.

We offer an introduction to principled uses of p-values (targeted at the non-specialist) and identify questionable practices to be avoided.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Understanding p-values and significance. (read)

Altman, N. & Krzywinski, M. (2024) Understanding p-values and significance. Laboratory Animals 58:443–446.

Martin Krzywinski | contact | Canada's Michael Smith Genome Sciences CentrePHSA
Google whack “vicissitudinal corporealization”
{ 10.9.234.152 }