Built with blockbuilder.org
Last active
November 8, 2017 14:20
-
-
Save romsson/36b1cdc599e8f341a33892f143cf087f to your computer and use it in GitHub Desktop.
bar chart (100% SVG)
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
license: mit |
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> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
rect { | |
fill: none; | |
stroke: black; | |
stroke-width: 1px; | |
} | |
</style> | |
</head> | |
<body> | |
<svg width="960" height="500"> | |
<rect y="178" x="50" width="50" height="22"></rect> | |
<rect y="168" x="100" width="50" height="32"></rect> | |
<rect y="179" x="150" width="50" height="21"></rect> | |
<rect y="177" x="200" width="50" height="23"></rect> | |
<rect y="190" x="250" width="50" height="10"></rect> | |
<rect y="178" x="300" width="50" height="22"></rect> | |
<rect y="189" x="350" width="50" height="11"></rect> | |
<rect y="181" x="400" width="50" height="19"></rect> | |
<rect y="170" x="450" width="50" height="30"></rect> | |
<rect y="150" x="500" width="50" height="50"></rect> | |
</svg> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment