xxxxxxxxxx
<html>
<head>
<meta charset=utf-8 />
<title>Boxplot Directive</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<style>
.boxPlot line {
fill: #fff;
stroke: #666;
stroke-width: 3.5px;
stroke-linecap: round;
stroke-opacity: 0.8;
}
.boxPlot .mean {
fill: #49ada6;
}
.boxPlot .lift {
fill: #e9d362;
stroke:#666;
stroke-width: 1.5px;
stroke-opacity: 0.3;
}
</style>
</head>
<body>
<div ng-app="boxplotApp" ng-controller="BoxplotController">
<div boxplot-chart chart-data="BoxplotData"></div>
</div>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js'></script>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="boxplot.js"></script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js
https://d3js.org/d3.v3.min.js