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