Skip to content

Instantly share code, notes, and snippets.

@d3byex
Last active November 16, 2015 04:35
Show Gist options
  • Select an option

  • Save d3byex/6336f81ee8a47f221670 to your computer and use it in GitHub Desktop.

Select an option

Save d3byex/6336f81ee8a47f221670 to your computer and use it in GitHub Desktop.
D3byEX 3.12
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="D3byEX 3.12">
</head>
<body>
<script src="http://d3js.org/d3.v3.min.js" charset=" utf-8"></script>
<svg width="720" height="120">
<line x1="10" y1="20" x2="110" y2="100"
stroke="red" stroke-width="20" stroke-linecap="butt" />
<line x1="60" y1="20" x2="160" y2="100"
stroke="green" stroke-width="20" stroke-linecap="square" />
<line x1="110" y1="20" x2="210" y2="100"
stroke="blue" stroke-width="20" stroke-linecap="round" />
<path d="M 10 20 L 110 100 M 60 20 L 160 100 M 110 20 L 210 100"
stroke="white" />
</svg>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment