Skip to content

Instantly share code, notes, and snippets.

@vicapow
Created January 31, 2014 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vicapow/8727599 to your computer and use it in GitHub Desktop.
Save vicapow/8727599 to your computer and use it in GitHub Desktop.
dang...
<!doctype HTML>
<html ng-app="dang">
<head>
<script src="js/d3.v3.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/dang.js"></script>
</head>
<body>
<d3-bar type="stacked" data="data">
<d3-axis orient="bottom" scale="xScale" ticks="10"></axis>
<d3-axis orient="left" scale="yScale"></axis>
</d3-bar>
<d3-pie data="data"></d3-pie>
<d3-donut data="data"></d3-donut>
<d3-shatter data="data">
<d3-axis orient="bottom" scale="xScale"></axis>
<d3-axis orient="left" scale="yScale"></axis>
</d3-shatter>
<d3-line data="data">
<d3-axis orient="bottom" scale="xScale"></axis>
<d3-axis orient="left" scale="yScale"></axis>
</d3-line>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment