Add overlay and d3 functionality