xxxxxxxxxx
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Howework 2 | Octavio</title>
<script type="text/javascript" src="https://d3js.org/d3.v3.min.js"></script>
<script src="script.js"></script>
<style type="text/css">
body {
margin: 0;
background-color: #dddddd;
font-family: Helvetica, Arial, sans-serif;
}
#container {
width: 800px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
padding: 50px;
background-color: #ffffff;
box-shadow: 3px 3px 5px 6px #000;
}
#title {
width: 800px;
margin-left: auto;
margin-right: auto;
}
#someText {
width: 800px;
margin-left: auto;
margin-right: auto;
font-family: Helvetica, Arial, sans-serif;
}
</style>
</head>
<body>
<h1 id="title">Points per game % of the 2015 All-NBA Team </h1>
<div id="container"></div>
<p></p>
<div id="someText">
<p>The data was obtained from <a href="https://ww.nba.com">the nba website.</a>
<br>I think this is not the best choice to represent this data but it was good to try stacked area charts
</p>
</div>
<script src="script.js"></script>
</body>
</html>
Modified http://d3js.org/d3.v3.min.js to a secure url
https://d3js.org/d3.v3.min.js