A mask
lets you use the same pattern
for stroke
and fill
without a banding effect.
Used in The Word Choices That Explain Why Jane Austen Endures.
xxxxxxxxxx
<meta charset="utf-8">
<style>
body{
margin: 0px;
font-family: Consolas, Andale Mono, Menlo, Monaco, monospace;
}
text{
fill: #fff;
font-size: 16px;
font-weight: 300;
}
h3{
margin: 0px;
margin-top: 10px;
}
</style>
<body>
<div id='graph'></div>
<div class='tooltip'></div>
</body>
<script src="d3v4.js"></script>
<script src="lodash.js"></script>
<script src="hex-bin.js"></script>
<script src='script.js'></script>