Public
Edited
May 6, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
distances = [[0.331259695023578,0.5433662145032687,0.95,0.2928932188134524,0.24016431434840746,0.5481989981950777,0.45089951322388755,0,0.5328620222717999,0.5,0.5210263745564253,0.5762013425849783,0.95,0.95,0.95],[0.5571499857308526,0,0.2928932188134524,0.331259695023578,0.95,0.95,0.5433662145032687,0.24016431434840746,0.3852118470487357,0.95,0.95,0.95,0.95,0.95,0.95],[0.95,0.95,0,0.95,0.95,0.95,0.95,0.95,0.95,0.36105689575372757,0.95,0.95,0.95,0.95,0.95],[0.5571499857308526,0.24016431434840746,0.95,0,0.95,0.5527864045000421,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95],[0.95,0.95,0.95,0.95,0,0.6023646356164747,0.95,0.95,0.95,0.95,0.2928932188134524,0.5481989981950777,0.95,0.95,0.95],[0.95,0.95,0.95,0.95,0.95,0,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.59983983980775],[0.95,0.95,0.95,0.95,0.95,0.95,0,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95],[0.47335961215207345,0.5795517923731427,0,0.2928932188134524,0.24016431434840746,0.5613086623491692,0.1591035847462854,0,0.4830268460428294,0.5827738551388494,0.5945385501612301,0.95,0.95,0.95,0.95],[0.3852118470487357,0.95,0.95,0.6023646356164747,0.95,0.24016431434840746,0.5945385501612301,0.95,0,0.5888663830994803,0.5795517923731427,0.1591035847462854,0.95,0.95,0.95],[0.5210263745564253,0.331259695023578,0.6048117386755951,0.45089951322388755,0.95,0.95,0.47335961215207345,0.95,0.95,0.59983983980775,0.5945385501612301,0.462715034088229,0.95,0.95,0.95],[0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0.95,0,0.95,0.95,0.95,0.95],[0.49186725184538527,0.6094893467104838,0.36105689575372757,0.95,0.4053964424986395,0.3852118470487357,0.45089951322388755,0,0.331259695023578,0.5481989981950777,0.5527864045000421,0,0.95,0.95,0.95],[0.95,0.95,0.95,0.95,0.5613086623491692,0.2928932188134524,0.95,0.95,0.95,0.95,0.4376586748096509,0.95,0,0.95,0.95],[0.95,0.95,0.5328620222717999,0.5527864045000421,0.6160182866920652,0.95,0.95,0.5210263745564253,0.95,0.95,0.95,0.95,0.95,0,0.95],[0.95,0.5145082282926765,0.5075209394945477,0.45089951322388755,0.5433662145032687,0.1591035847462854,0.24016431434840746,0.4053964424986395,0.95,0.3852118470487357,0.5613086623491692,0.5727129936037659,0.95,0.95,0]];
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
H = new druid.Hierarchical_Clustering(D, linkage, "precomputed");
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
druid = require("@saehrimnir/druidjs@=0.3.11")
Insert cell
druid.version
Insert cell
d3 = require("d3")
Insert cell
import {Button, Select, Radio, Range} from "@observablehq/inputs"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more