Я получаю это cannot read property 'offsetHeight' of null
пока я только инициализировал его высоту
Вот мой код:
d3.select("#container")
.style("height", "100%")
.style("width", "100%")
.style("position", "relative")
.style("bottom", 0);
var width = document.getElementById("#container").offsetWidth,
height = document.getElementById("#container").offsetHeight,
radius = (Math.min(width, height) / 1.5);