Simple example using D3 to generate content in a webpage
xxxxxxxxxx
<html lang="en">
<head>
<meta charset="UTF-8">
<title>D3 example</title>
<script src="//d3js.org/d3.v4.min.js" charset="utf-8"></script>
</head>
<body>
<input type="button" onclick="update()" value="Update"/>
<div id="vis">
</div>
<script src="script.js">
</script>
</body>
</html>
https://d3js.org/d3.v4.min.js