D3
d3.select("body")
.append("ul")
.selectAll("li")
.data(data)
.enter()
.append("li")
.text(function (d) {
return d.headline + ": " +
d.essentials.industry;
});
d3.selectAll("li")
.style("font-weight", function (d) {
return (d.essentials.industry == "Blockchain") ? "bold" : "normal";
})
https://stackoverflow.com/questions/18416749/adding-fontawesome-icons-to-a-d3-graph http://output.jsbin.com/eFAZABe/3/
https://github.com/FortAwesome/Font-Awesome/blob/master/src/icons.yml https://github.com/Swizec/react-d3js-es6-ebook/blob/master/manuscript/code_samples/es6/H1BGraph/Controls/index.jsx https://nicolas.perriault.net/code/2013/testing-frontend-javascript-code-using-mocha-chai-and-sinon/
Written on June 10, 2017