d3.css div.bar {
display: inline-block;
width: 40px;
height: 75px;
/* background-color: teal; */
background-color: blue;
}
d3.js /* var dataset = [ 9, 1, 4, 1, 5, 9 ]; */
const dataset = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
d3.js d3.select("body")
.selectAll("div")
.data(dataset)
.enter()
.append("div")
.attr("class", "bar")
.style("height", function(d) {
var barHeight = d * 10
return barHeight + "px"
})
d3g.jsd3.select("#graph").graphviz()
.fade(false)
.renderDot(
'digraph {\
a -> b -> c\
}'
)
[https://idy.herokuapp.com/rss/0/https://github.com/masui/rund3/releases.atom#.svg]