d3-3 graceful error