replicated lemur fuctionality
Tested first lineup with d3