The label placement algorithm introduced here can be also used in treemaps built by using a Peano space-filling curve.
Peano regions always have a landscape (or square) orientation, yielding more horizontal labels than Hilbert treemaps.
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<title>Label placement for Peano treemaps</title>
<link type="text/css" href="index.css" rel="stylesheet"/>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://jsclipper.sourceforge.net/6.1.3.1/clipper.js"></script>
<script src="https://davidbau.com/encode/seedrandom-min.js"></script>
<script src="zip.js"></script>
<script src="tree_utils.js"></script>
<script src="sfc_layout.js"></script>
<script src="jigsaw.js"></script>
</head>
<body>
</body>
<script src="index.js"></script>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://jsclipper.sourceforge.net/6.1.3.1/clipper.js to a secure url
Modified http://davidbau.com/encode/seedrandom-min.js to a secure url
https://d3js.org/d3.v3.min.js
https://jsclipper.sourceforge.net/6.1.3.1/clipper.js
https://davidbau.com/encode/seedrandom-min.js