~bcsaller/juju-gui/charmFind

« back to all changes in this revision

Viewing changes to lib/d3/examples/hello-world/hello-order.html

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
 
<html>
3
 
  <head>
4
 
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5
 
  </head>
6
 
  <body>
7
 
    <script type="text/javascript" src="../../d3.v2.js"></script>
8
 
    <script type="text/javascript">
9
 
 
10
 
var div = d3.select("body").selectAll("div")
11
 
    .data(["a", "b", "f"])
12
 
  .enter().append("div")
13
 
    .text(String);
14
 
 
15
 
var div = d3.select("body").selectAll("div")
16
 
    .data(["a", "b", "c", "d", "e", "f"], String);
17
 
 
18
 
div.enter().append("div")
19
 
    .text(String);
20
 
 
21
 
div.order();
22
 
 
23
 
    </script>
24
 
  </body>
25
 
</html>