Mohamed Safi
Mohamed Safi

Reputation: 39

D3.js X axis line not displaying

In the example of bivariate chart (mbostock’s block #3884914), x-axis line is not visible. I tried in different ways but could not make the line appear. What can i do to make the line appear? Only ticks are available in the example.

Link : http://bl.ocks.org/mbostock/3884914

Upvotes: 0

Views: 2841

Answers (1)

Ahmed Eid
Ahmed Eid

Reputation: 1183

this is the css rule, that is responsible for hiding x-axis ,, you need to remove it from the code and it will appear

.x.axis path {
  display: none;
}

Upvotes: 6

Related Questions