function renderHorizontalLines(svgData) would be nicer