Created
June 1, 2010 09:29
-
-
Save qoelet/420756 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<script type='text/javascript+protovis'> | |
new pv.Panel() | |
.width(350) | |
.height(200) | |
.add(pv.Image) | |
.url('bg.gif') | |
.title('_incubator by kenny shen') | |
.add(pv.Dot) | |
.data([[1,11.29],[2,13.41],[3,13.11],[4,12.51],[5,14.02],[6,14.65],[7,13.36],[8,14.34],[9,16.38],[10,17.23],[11,17.8],[12,17.67]]) | |
.left(function(d) d[0] * 15) | |
.bottom(function(d) d[1] * 10) | |
.strokeStyle("white") | |
.fillStyle("rgba(30,30,30,.9)") | |
.add(pv.Rule) | |
.bottom(15) | |
.add(pv.Rule) | |
.bottom(pv.range(15,130,15)) | |
.left(0) | |
.width(5) | |
.root.render(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment