How I tracked down a memory leak causing browser crashes. D3 selections, React refs, and proper cleanup in useEffect.