A playful demonstration of using svg's <use>
tag to make a mandala.
forked from pbeshai's block: Mandala Generator with D3 and SVG use
xxxxxxxxxx
<title>Mandala Generator with D3 and SVG use</title>
<style>
button {
font-size: 30px;
margin-bottom: 10px;
width: 600px;
}
</style>
<body>
<button id="make-mandala">Make a new Mandala</button>
<div id="vis-container"></div>
<script src='https://d3js.org/d3.v4.min.js'></script>
<script src='dist.js'></script>
</body>
https://d3js.org/d3.v4.min.js