Updated logic to work with D3's data binding style. Added render button and input field for num circles to generate.