score:3

Accepted answer

You have to set the size of the pattern:

.attr("width", 50)
.attr("height", h)

Here is your updated fiddle: http://jsfiddle.net/uzbt1cr6/


Related Query