Basic functionality for d3js with directory module.