Relative Content

Tag Archive for javascriptsvgd3.jscharts

SVG line chart using d3 is not rendering to full height along y-axis

I am rendering a svg line chart using d3. For y axis the maximum value in chart data is 104 and minimum is 0. I have taken height of chart to 500. But the maximum value i.e 104 should be rendered at top height but its rendering at height somewhere near height of 270.
Also how can I get y value of svg path from x position inside svg bounds?