Axis do not show

Good reply, @bgchen!

@arinbasu, Here’s a suggestion you can merge with the minimal set of changes I recommend:

Specifically:

  1. Pin the major version of D3.
  2. Avoid side-effects by combining cells where appropriate.
  3. Use selection.join instead of selection.enter + selection.append.
  4. Append your axes to a new group (G) element, not each circle.
  5. Translate your axes into the desired position, or set overflow: visible.
6 Likes