This example demonstrates embedding an Observable notebook as a React component with two-way dataflow. If you brush the scatterplot below, the selected data will be displayed. Likewise if you edit the height input below, controlled by React, the chart will automatically resize.