Last month's energy usage per household
# index.html
<html>
<head>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://raw.githubusercontent.com/xdanielsb/Charts/master/base/b2/code_black%24.js"></script>
</head>
<body>
<div id="chart"></div>
<script src="YourScript.js"></script>
</body>
</html>
# YourScript.js
let data = [
{name:"House1",y:600},
{name:"House2",y:750},
{name:"House3",y:800},
{name:"House4",y:900},
{name:"House5",y:1000},
{name:"House6",y:900},
{name:"House7",y:700},
{name:"House8",y:900},
{name:"House9",y:800},
{name:"House10",y:1000},
{name:"House11",y:700},
{name:"House12",y:600},
{name:"House13",y:900},
{name:"House14",y:800},
{name:"House15",y:1000},
{name:"House16",y:700},
{name:"House17",y:600}
]
let bh = new BlackHole(data)
let myHouse = 4
let isDataFromCsv = false
bh.plot("chart", myHouse, isDataFromCsv)
# License
Released under the GNU General Public License, version 3.