nick34992
2/25/2017 - 12:51 PM

D3: svg, line: Draw Crossed Lines with Blue Color and Line Thickness

D3: svg, line: Draw Crossed Lines with Blue Color and Line Thickness

<!DOCTYPE html>
<html>
    <head>
        <meta name="description" content="D3, Line">
    </head>
    <body>
        <script src="d3/d3.js" charset=" utf-8"></script>
        <svg width="720" height="120">
            <line x1="20" y1="20" x2="100" y2="100"
                  stroke="mediumblue" stroke-width="10" />
            <line x1="100" y1="20" x2="20" y2="100"
                  stroke="mediumblue" stroke-width="10" />
        </svg>
    </body>
</html>