How to draw logarithmic line charts with nvd3

Is there a way to draw logarithmic line charts with nvd3

+7
source share
1 answer

I'm not an nvd3 / d3 expert, but I did something like this for nv.models.lineChart :

 chart.yScale(d3.scale.log()); chart.yAxis.tickValues([1,10,100,1000,10000,1000000]); chart.forceY([1,1000000]); 

Notes:

+10
source

All Articles