Dynamic bar chart

Add right bar, Remove right bar, Add left bar, Remove left bar.

Slide bars left, Slide bars right, Randomly generate bars.

This is an exercise in interactive data visualization of a bar chart. The data are pseudo-randomly generated by sampling from the uniform distribution defined over [0, 1). The exercise is implemented with D3 v4.

View the code here.