D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
BenHeubl
Full window
Github gist
excel_function_BW
Built with
blockbuilder.org
<!DOCTYPE html> <head> <meta charset="utf-8"> <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> <style> body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } svg { width:100%; height: 100% } </style> </head> <body> <script> function pred () { result = 1/ ( 1+ ( EXP( -( -(0.0042183*A2) +(0.0039907*B2) +(0.0000626*(A2^2)) +(0.00000812*(B2^2)) -(0.0007982*C2) +(0.0419669*(IF(D2=47,1,0))) +(1.041139*((IF(D2=52,(6/7),IF(D2=53,3/7,0)))^2)) -(0.1213413*D2) +(0.0129541*(D2^2)) -(0.0003998*(D2^3)) +(0.00000373*(D2^4)) -(0.4756087*E2) -(3.885171*F2) -(0.092289*G2*F2) +(1.883142*H2) -(0.0162975*I2) +(0.0839098*G2) +(0.1854669*J2) -(0.8336684*(1-J2)) +(0.2028874*F2*K2) +(0.1258541*J2*F2) +(0.3561441*F2*(1-J2)) -(0.470837*(LN(G2))) +(1.802581*F2*(LN(G2))) +(1.217256*(LN(L2))) -(0.5184693*F2*(LN(L2+1))) -(0.1466195*M2) -(0.157074*N2) +(0.0150286*(LN(O2+1))) -1.9122703 ) ) ) ) } </script> </body>
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js