d3.js
が実行されてデータが表示される。d3.css div.bar {
display: inline-block;
width: 40px;
height: 75px;
background-color: teal;
}
d3.js var dataset = [ 3, 1, 4, 1, 5, 9 ];
d3.select("body")
.selectAll("div")
.data(dataset)
.enter()
.append("div")
.attr("class", "bar")
.style("height", function(d) {
var barHeight = d * 10
return barHeight + "px"
});