modified ai data and added d3selector