Public
Edited
Jun 13
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
color1 = '#F4A698' //'#E59501' //'#F4A698'
Insert cell
color2 = '#69A8CA' //'#68A8CA'
Insert cell
color3 = '#80BEE2'
Insert cell
Insert cell
Insert cell
colors_tried = ['#F7E8A4', '#542344', '#8380B7', '#BCE8FD', '#0A724C', '#F4A698']
Insert cell
Insert cell
Insert cell
unlab_tree = "(((Weddell_seal,((Killer_whale,Dolphin)Node6,(Cow,Sheep)Node9)Node5)Node3,(Megabat,(Vampire_bat,Davids_myotis)Node14)Node12)Node2,Human,Aardvark)Node17"
Insert cell
species_labels = ({'Weddell_seal': 'Background', 'Killer_whale': 'Echolocating', 'Dolphin': 'Echolocating', 'Node6': 'Echolocating', 'Cow': 'Background', 'Sheep': 'Background', 'Node9': 'Background', 'Node5': 'Background', 'Node3': 'Background', 'Megabat': 'Background', 'Vampire_bat': 'Echolocating', 'Davids_myotis': 'Echolocating', 'Node14': 'Echolocating', 'Node12': 'Background', 'Node2': 'Background', 'Human': 'Background', 'Aardvark': 'Background', 'Node17': 'Background'})
Insert cell
species_bl = ({'Weddell_seal': 76.0, 'Killer_whale': 9.68381, 'Dolphin': 9.68381, 'Node6': 48.10429, 'Cow': 21.62563, 'Sheep': 21.62563, 'Node9': 36.16247, 'Node5': 18.2119, 'Node3': 5.02605, 'Megabat': 62.0, 'Vampire_bat': 51.31415, 'Davids_myotis': 51.31415, 'Node14': 10.68585, 'Node12': 19.02605, 'Node2': 12.97395, 'Human': 95, 'Aardvark': 95})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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