Based on the most excellent dendrogram work of Mike Bostock leveraging d3, this shows the nested scales by which the ~10,000 global ecoregions combine in clusters that have similar drivers of species richness (land use intensity, climate, etc.). Data is from forthcoming work by Bill Morris on geographically-weighted regression and ecological segmentation; it would be "done" rather than "forthcoming" if Bill would spend less time on dataviz and more on writing his %$&#ing dissertation.
xxxxxxxxxx
<meta charset="utf-8">
<title>Flare Dendrogram</title>
<style>
.node circle {
fill: #fff;
stroke: #003EFF;
stroke-width: 1.3px;
}
.node circle:hover {
fill: blue !important;
}
.node {
font: 10px sans-serif;
}
.link {
fill: none;
stroke: #00beff;
stroke-width: 0.8px;
}
</style>
<body>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script>
var radius = 960 / 2;
var cluster = d3.layout.cluster()
.size([360, radius - 120]);
var diagonal = d3.svg.diagonal.radial()
.projection(function(d) { return [d.y, d.x / 180 * Math.PI]; });
var svg = d3.select("body").append("svg")
.attr("width", radius * 2)
.attr("height", radius * 2)
.append("g")
.attr("transform", "translate(" + radius + "," + radius + ")");
d3.json("ecogwr51.json", function(error, root) {
var nodes = cluster.nodes(root);
var link = svg.selectAll("path.link")
.data(cluster.links(nodes))
.enter().append("path")
.attr("class", "link")
.attr("d", diagonal);
var node = svg.selectAll("g.node")
.data(nodes)
.enter().append("g")
.attr("class", "node")
.attr("transform", function(d) { return "rotate(" + (d.x - 90) + ")translate(" + d.y + ")"; })
node.append("circle")
.attr("r", 4.5);
node.append("text")
.attr("dy", ".5em")
.attr("text-anchor", function(d) { return d.x < 180 ? "start" : "end"; })
.attr("transform", function(d) { return d.x < 180 ? "translate(8)" : "rotate(180)translate(-8)"; })
.text(function(d) { return d.name; });
});
d3.select(self.frameElement).style("height", radius * 2 + "px");
</script>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js