Trying to draw a responsive bar chart using D3.js that takes values from a HTML textarea element - just like it looks in the image below. If I enter a new value in the textarea