Should use `d3_selectRoot` instead of `d3_document.documentElement`.