move from d3 wordpress plugin to something more generic