Made with ApexNo. 02ApexTree

Haemophilia reached at least nine of Queen Victoria's descendants, two of them heirs to a throne.

Queen Victoria carried a gene for the bleeding disorder haemophilia. Here is her family down to her great-grandchildren, drawn as a medical pedigree, with the gene's path in red. Step through to follow it.

Queen Victoria carried a gene for haemophilia B. Her son Leopold had the disease, and through his daughter and his sisters Alice and Beatrice it reached eight more boys and men, nine in some accounts, among them Alexei, born heir to the throne of Russia, and Alfonso, born heir to the throne of Spain.

Data
Wikidata as of November 2026
Licence
Wikidata is CC0; statuses are facts from the cited works
Made by
The ApexCharts team
Built with
ApexTree

How it was made

The piece is one ApexTree of 139 people: Queen Victoria and every descendant down to her great-grandchildren, drawn left to right as a medical pedigree. Each of its five steps is one function that opens branches, spotlights one and traces the gene.

A pedigree, not an org chart

Genetics has its own drawing convention, and the piece keeps to it. A square is a man and a circle a woman. Filled means the person had the disease, half-filled that she carried the gene, and a broken outline marks a carrier's daughter, who had an even chance of carrying it too, or a man the sources disagree about. Red is the gene and nothing else, and every status has its own shape, so colour is never the only cue.

Each card is a nodeTemplate that draws the symbol, the name, the life dates in tabular figures, a title in small capitals and, where children follow, the other parent. With autoNodeHeight every card is measured at a fixed width before layout, so a card with a marriage line is simply taller.

A tree gives each person one parent. Here it is the one on the shortest line of descent from Victoria, and the other is named on the card. Where both lines are equally short, as when Irene of Hesse married her cousin Henry of Prussia, the mother is used, because the gene travels on the X chromosome.

Each step is one function

function show({ open, focus, path }) {
  openOnly(open) // collapse and expand until exactly these are open
  if (focus) graph.focus(focus)
  else graph.clearFocus()
  graph.setActivePath(path)
}

focus(id) dims everything outside one branch and springs the camera to frame it. setActivePath(ids) runs the red dashes from Victoria down to each man who had the disease. When a man is inside a collapsed branch, the dashes stop at the nearest card on screen, which is how the last step lights all three lines without opening any of them.

The whole family at once

The first version opened everything:

The rejected version: all 139 cards open at once, a thin column of unreadable cards

Eighty-seven great-grandchildren stacked in one column leave each card about 22 pixels wide, 8% of its size. Semantic zoom simplifies cards as they shrink, but it answers the reader's zoom gestures, by design, not a camera that moves on its own. So the piece opens one line at a time and keeps the rest a click away, and every closed card's button shows how many descendants it holds.

Every number is computed

The counts in the headline and captions, every age, the order of the steps (by the birth of the first affected man in each line) and the branches each step opens are all read from the data at the top of the script. The piece checks its headline against that data, and the site's build checks this page's headline against the piece's.

Names, dates and family links come from Wikidata and were checked against each person's own entry. Each status cites a source below, and an independent second check verified every one.

What is hand-written

The step buttons, captions, the roll of names and the key are ordinary HTML. openOnly compares each card's state with the step's and calls collapse and expand on the difference only, closing from the leaves up and opening from the root down. That is a few reflows rather than one, but the springs carry their velocity from one to the next, so a step reads as a single motion.

ApexTree 2.3.0 reads a numeric height as a percentage when width is a percentage, so the piece passes both in pixels and rebuilds the tree when its width changes. When the stage is too narrow for the full cards to stay readable, the rebuild uses compact ones, with only the name and dates; the title and marriage stay in each card's spoken label.

The tree's own keyboard navigation stays on: arrow keys move between cards when focus is inside the tree, and step through the story everywhere else. ApexTree 2.3.0 also keeps Tab inside the tree, cycling through the cards, so the piece stops Tab before the tree's handler sees it and focus moves on to the roll and the sources.

Sources for each status

  • Victoria, a carrier, as the mother of an affected son. Where the gene began: Jobling, Investigative Genetics 2011, which says it "most likely appeared de novo in Queen Victoria".
  • Alexandra, Alexei and the carrier daughter: DNA from the Romanov remains, Rogaev et al., Science 2009, which also found the disease was haemophilia B. The study presumes the daughter is Anastasia; some investigators identify the same remains as Maria.
  • Leopold, Alice of Albany, Rupert, Irene, Waldemar and Henry of Prussia: Ingram, Journal of Clinical Pathology 1976.
  • Alice, Beatrice, Victoria Eugenie, Alfonso and Gonzalo: Lee, Clinical Medicine 2009.
  • Friedrich of Hesse and Lord Leopold Mountbatten: the Royal Collection Trust's records (Friedrich, Leopold).
  • Maurice of Battenberg is drawn as disputed: Ingram and Lee count him as affected, and Gun, Eugenics Review 1938, writing in 1938, says Beatrice's other two sons escaped it. So the headline says "at least nine".

The papers are cited for status only. Dates come from Wikidata, since some of the papers give dates that are wrong.

Get the code

The piece is one HTML file with its data inside it, loading ApexTree from a CDN. Save it and open it in a browser, or take it apart.

ApexTree needs a licence key: add yours where the file marks the spot. Without one it shows a watermark.

Download victoria.htmlOpen the piece on its own