2024 π Daylatest newsbuy art
Love itself became the object of her love.Jonathan Safran Foercount sadnessesmore quotes
very clickable
There are some new shapes on the streets of Vancouver. Genomic sequence decoded from patients are shown as a puzzle — can you solve the mystery of the cell?
I've encoded DNA in other ways — on public wayfinding signs.
City Trees

The trees along this city street,
Save for the traffic and the trains,
Would make a sound as thin and sweet
As trees in country lanes.

And people standing in their shade
Out of a shower, undoubtedly
Would hear such music as is made
Upon a country tree.

Oh, little leaves that are so dumb
Against the shrieking city air,
I watch you when the wind has come,—
I know what sound is there.

— Edna St. Vincent Millay

data visualization + art

Nature Biotechnology Cover

11 April 2022, Issue 40, Volume 4

1 · From sketch to cover

During the design process, there's usually an early sketch phase — you try out various ideas and see which one sticks. For this design, I was lucky to skip this step entirely — I knew exactly what I wanted to do. It was just a matter of translating the vague vision in my head onto the page.

First thing I did was to assign each top-level cluster a number. I knew that eventually I wanted to be able to know what went where.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Numbering the clusters.

Next, I had to figure out a way to arrange the clusters on the branches of a tree in a way that would (a) fill the page, (b) have smaller clusters at tips of branches, and (c) minimize or eliminate overlap.

1.1 · The tree takes shape

But I had to draw the tree first. Below are a couple of sketches. Branches are positioned to have the tree wrap around the title of the journal.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Early take on the tree and cluster position. Placement was made with the cover layout in mind. I wanted the tree to wrap around the journal title and reach into the top right of the image.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
This version fills in the empty space on the bottom left (clusters 21 and 22) and right (clusters 1 and 2) of the tree.

Once the clusters were placed in the tree, more adjustments needed to be made. Moving the clusters around so that everything looked “just so” took quite a bit of time.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
First round of placing the clusters on the tree. It wasn't great but it wasn't terrible.

1.2 · Nudge, nudge

The week of nudge.

I probably spent half a week 3 days moving the clusters around on the page.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
First round of placing the clusters on the tree. It wasn't great but it wasn't terrible.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
More nudging.

1.3 · Branches

By this point, I was pretty happy with the layout, but the branches seemed a bit sparse and much much too straight.

So, I had to get quite friendly with Illustrator's width tool, adding bends to the branches and variation to their width.

I also experimented with another color scheme that felt more summery.

You'll also notice that the boundaries of the clusters are no longer round — a littee smooth roughening grows a long way.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Little branches, I know what sound is there.

1.4 · Cover candidates

I created to sets of images. One had a black branch and wound up having a nighttime feeling — the clusters looking like lanterns.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Cover designs — dark scheme.

And the other set having a light and airy (and almost underwater) feeling with white branches. I particularly like the light outlines around the clusters

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Cover designs — light scheme.

These 8 candidates were submitted to the journal.

The editor selected the bottom left option from the light series.

1.5 · Elements of the final cover

A few final tweaks to the editor's selection saw a little more branch detail and contrast.

Below, I walk you through all the elements of the final cover image.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
I normally don't use gradients but I guess I was feeling like someone else.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The outer boundaries of the clusters form a single shape..
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Top level clusters — all wobbly and looking very ripe for picking.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The darker color of the second level clusters provide weight to the branches.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Third level clusters.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Fourth level clusters.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The fifth level clusters were so small that more levels would have been undiscernable. I decided to light this last level up with a bright green to stand out against the purple.
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
The final cover design with cover text and color treatment.
news + thoughts

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.

Nasa to send our human genome discs to the Moon

Sat 23-03-2024

We'd like to say a ‘cosmic hello’: mathematics, culture, palaeontology, art and science, and ... human genomes.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
SANCTUARY PROJECT | A cosmic hello of art, science, and genomes. (details)
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
SANCTUARY PROJECT | Benoit Faiveley, founder of the Sanctuary project gives the Sanctuary disc a visual check at CEA LeQ Grenoble (image: Vincent Thomas). (details)
Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
SANCTUARY PROJECT | Sanctuary team examines the Life disc at INRIA Paris Saclay (image: Benedict Redgrove) (details)

Comparing classifier performance with baselines

Fri 22-03-2024

All animals are equal, but some animals are more equal than others. —George Orwell

This month, we will illustrate the importance of establishing a baseline performance level.

Baselines are typically generated independently for each dataset using very simple models. Their role is to set the minimum level of acceptable performance and help with comparing relative improvements in performance of other models.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
Nature Methods Points of Significance column: Comparing classifier performance with baselines. (read)

Unfortunately, baselines are often overlooked and, in the presence of a class imbalance, must be established with care.

Megahed, F.M, Chen, Y-J., Jones-Farmer, A., Rigdon, S.E., Krzywinski, M. & Altman, N. (2024) Points of significance: Comparing classifier performance with baselines. Nat. Methods 21:546–548.

Happy 2024 π Day—
sunflowers ho!

Sat 09-03-2024

Celebrate π Day (March 14th) and dig into the digit garden. Let's grow something.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
2024 π DAY | A garden of 1,000 digits of π. (details)

How Analyzing Cosmic Nothing Might Explain Everything

Thu 18-01-2024

Huge empty areas of the universe called voids could help solve the greatest mysteries in the cosmos.

My graphic accompanying How Analyzing Cosmic Nothing Might Explain Everything in the January 2024 issue of Scientific American depicts the entire Universe in a two-page spread — full of nothing.

Martin Krzywinski @MKrzywinski mkweb.bcgsc.ca
How Analyzing Cosmic Nothing Might Explain Everything. Text by Michael Lemonick (editor), art direction by Jen Christiansen (Senior Graphics Editor), source: SDSS

The graphic uses the latest data from SDSS 12 and is an update to my Superclusters and Voids poster.

Michael Lemonick (editor) explains on the graphic:

“Regions of relatively empty space called cosmic voids are everywhere in the universe, and scientists believe studying their size, shape and spread across the cosmos could help them understand dark matter, dark energy and other big mysteries.

To use voids in this way, astronomers must map these regions in detail—a project that is just beginning.

Shown here are voids discovered by the Sloan Digital Sky Survey (SDSS), along with a selection of 16 previously named voids. Scientists expect voids to be evenly distributed throughout space—the lack of voids in some regions on the globe simply reflects SDSS’s sky coverage.”

voids

Sofia Contarini, Alice Pisani, Nico Hamaus, Federico Marulli Lauro Moscardini & Marco Baldi (2023) Cosmological Constraints from the BOSS DR12 Void Size Function Astrophysical Journal 953:46.

Nico Hamaus, Alice Pisani, Jin-Ah Choi, Guilhem Lavaux, Benjamin D. Wandelt & Jochen Weller (2020) Journal of Cosmology and Astroparticle Physics 2020:023.

Sloan Digital Sky Survey Data Release 12

constellation figures

Alan MacRobert (Sky & Telescope), Paulina Rowicka/Martin Krzywinski (revisions & Microscopium)

stars

Hoffleit & Warren Jr. (1991) The Bright Star Catalog, 5th Revised Edition (Preliminary Version).

cosmology

H0 = 67.4 km/(Mpc·s), Ωm = 0.315, Ωv = 0.685. Planck collaboration Planck 2018 results. VI. Cosmological parameters (2018).

Martin Krzywinski | contact | Canada's Michael Smith Genome Sciences CentreBC Cancer Research CenterBC CancerPHSA
Google whack “vicissitudinal corporealization”
{ 10.9.234.152 }