var d3 = require('d3'),
_ = require('lodash'),
// my library and a module with datasets
ggd3 = require('../dist/ggd3.v.0.1.0.js'),
data = require('../data/data.js');
describe("make chart", function() {
var chart = // create chart object,
id = "someid";
div = d3.select('body').append('div')
.attr('id', id);
it("has 90 rectangles", function() {
// count selects id and counts the number of elements with selector
count(id, 'rect', 90);
});