Graphics Programs Reference
In-Depth Information
FIGurE 5-13 Interactive stacked bar chart in Protovis
To start, set up the HTML page and load the necessary Protovis JavaScript
ile.
<html>
<head>
<title>Stacked Bar Chart</title>
<script type=”text/javascript” src=”protovis-r3.2.js”></script>
</head>
<body>
<div id=”figure-wrapper”>
<div id=”figure”>
</div><!-- @end figure -->
</div><!-- @end figure-wrapper -->
</body>
</html>
Search WWH ::




Custom Search