Textures.js is a Javascript library for creating SVG patterns. Made on top of d3.js, it is designed for data visualization.Colors and textures can be combined
to have further levels of selection.
You can use textures.js or textures.min.js directly with a script tag.