Highcharts.chart('container', {
title: {
text: 'Carnivora Phylogeny'
},
series: [{
type: 'organization',
keys: ['from', 'to'],
data: [
['Carnivora', 'Felidae'],
['Carnivora', 'Mustelidae'],
['Carnivora', 'Canidae']
],
levels: [{
level: 0
}],
nodes: [{
id: 'Carnivora',
name: 'Carnivora',
custom: {
info: 'Carnivora is a diverse scrotiferan order that includes over 280 species of placental mammals.'
}
}, {
id: 'Felidae',
name: 'Felidae',
custom: {
info: 'Felidae is a family of mammals in the order Carnivora, <br>colloquially referred to as cats, and constitute a clade.'
}
}, {
id: 'Mustelidae',
name: 'Mustelidae',
color: '#C4B1A0',
custom: {
info: 'The Mustelidae are a family of carnivorous mammals,<br> including weasels, badgers, otters, ferrets, martens, mink, and wolverines, among others.'
}
}, {
id: 'Canidae',
name: 'Canidae',
custom: {
info: 'The biological family Canidae is a lineage of carnivorans <br>that includes domestic dogs, wolves, coyotes, foxes, jackals, dingoes, <br>and many other extant and extinct dog-like mammals. '
}
}]
}],
tooltip: {
outside: true,
format: '{point.custom.info}'
}
});
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.