This example is used to understand the SVG viewport and viewbox - Ludo;
For French Speakers, I recommand to read this article
Improvements : - Style of lines are defined in CSS. - Number of Horizontal and Vertical are parameter - For automatic Display, number of lines and viewbox dimensions are now linked. - Viewbox dimensions is not hardcoded anymore
This is based in SVG Path Tutorial • Easy to Understand!, made by Roberto Matthews.