@currankelleher's famous introToD3 examples
artisanally ported to blockbuilder.org by @micahstubbs
Created
May 20, 2016 00:44
-
-
Save intro-to-d3/bf021f90a17c91628ceaa354cfe2ba23 to your computer and use it in GitHub Desktop.
pseudo line chart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>SVG Example</title> | |
</head> | |
<body> | |
<svg width="250" height="250"> | |
<rect x="0" y="0" width="50" height="200" fill="gray"/> | |
<rect x="50" y="200" width="200" height="50" fill="gray"/> | |
<g transform="translate(50, 0)"> | |
<path d="M0 200 L50 50 L100 150 L150 100 L200 150" | |
fill="none" stroke="black" stroke-width="10"></path> | |
</g> | |
</svg> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment