modules/svg/touch.js (10 lines of code) (raw):
export function svgTouch() {
function drawTouch(selection) {
selection.selectAll('.layer-touch')
.data(['areas', 'lines', 'points', 'turns', 'markers'])
.enter()
.append('g')
.attr('class', function(d) { return 'layer-touch ' + d; });
}
return drawTouch;
}