feature-d3js-api: updated variable naming