fixed bug where d3 dots would animate unnecessarily when data changed