Improve histogram layout

This commit is contained in:
Graham Triggs 2017-10-01 21:23:11 +01:00
parent f2a0e5d9cc
commit 8d78531a5a

View file

@ -40,7 +40,7 @@
d3.select("#publicationsChart").selectAll("*").remove();
d3.select("#publicationsChart").style("height", chartHeight);
var svg = d3.select("#publicationsChart"),
margin = {top: 30, right: 20, bottom: 30, left: 40},
width = (chartWidth - margin.left - margin.right),