D3 Responsive Line Chart - Using React Hooks With D3 06 Responsive Chart Components With Resizeobserver