Built with blockbuilder.org
forked from romsson's block: pure svg bar chart
forked from romsson's block: [introd3] static chart - bar chart
license: mit |
Built with blockbuilder.org
forked from romsson's block: pure svg bar chart
forked from romsson's block: [introd3] static chart - bar chart
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } | |
line { | |
fill: none; | |
stroke: black; | |
stroke-width: 1px; | |
} | |
</style> | |
</head> | |
<body> | |
<svg width="960" height="500"> | |
<line x1="50" y1="178" x2="100" y2="100"></line> | |
<line x1="100" y1="100" x2="150" y2="120"></line> | |
<line x1="150" y1="120" x2="200" y2="120"></line> | |
<line x1="200" y1="120" x2="250" y2="160"></line> | |
</svg> | |
</body> |