This example generates a random polygon with a round look. Reload the page to generate a new one.
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Random(ish) polygon" />
<title>Random(ish) polygon</title>
<link rel="stylesheet" href="index.css">
<script src="https://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<svg height="500" width="960">
</svg>
<script src="index.js"></script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js