Observable Example: Custom Fluid Width & Height

This example demonstrates responsive sizing: the embedded chart is 50% the width and height of the window. Try resizing the window to see the chart resize.

Credit: Mike Bostock