A simple example of HTML5's canvas element, showing a bilinear color gradient.
xxxxxxxxxx
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Canvas gradient" />
<title>Canvas gradient</title>
<link rel="stylesheet" href="index.css">
<script src="https://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<canvas width="960" height="500"></canvas>
<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