1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<!-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\-->
<!-- Created with SVG::Graph - https://github.com/lumean/svg-graph2-->
<head>
<meta charset='utf-8'/>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/d3/5.12.0/d3.min.js'>
</script>
<link href='https://cdnjs.cloudflare.com/ajax/libs/c3/0.7.11/c3.min.css' rel='stylesheet'/>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/c3/0.7.11/c3.min.js'>
</script>
</head>
<body>
<div id='my_funny_divtag'>
<script type='text/javascript'>
/*
<![CDATA[*/
var my_chart1 = c3.generate({
// bindto is mandatory
"bindto": "#my_funny_divtag",
"data": {
"x": "x",
"columns": [
["x", "-4.0", "-3.9", "-3.8", "-3.7", "-3.6", "-3.5", "-3.4", "-3.3", "-3.2", "-3.1", "-3.0", "-2.9", "-2.8", "-2.7", "-2.6", "-2.5", "-2.4", "-2.3", "-2.2", "-2.1", "-2.0", "-1.9", "-1.8", "-1.7", "-1.6", "-1.5", "-1.4", "-1.3", "-1.2", "-1.1", "-1.0", "-0.9", "-0.8", "-0.7", "-0.6", "-0.5", "-0.4", "-0.3", "-0.2", "-0.1", "0.0", "0.1", "0.2", "0.3", "0.4", "0.5", "0.6", "0.7", "0.8", "0.9", "1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "4.0", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "5.0", "5.1", "5.2", "5.3", "5.4", "5.5", "5.6", "5.7", "5.8", "5.9", "6.0", "6.1", "6.2", "6.3", "6.4", "6.5", "6.6", "6.7", "6.8", "6.9", "7.0", "7.1", "7.2", "7.3", "7.4", "7.5", "7.6", "7.7", "7.8", "7.9", "8.0"],
["Fibonacci Numbers from -4 to 8", "-3.0", "-2.70979", "-2.18045", "-1.48412", "-0.70226", "0.08299", "0.79675", "1.37783", "1.78334", "1.99114", "2.0", "1.82783", "1.50823", "1.08579", "0.61089", "0.13429", "-0.29768", "-0.64721", "-0.88776", "-1.00561", "-1.0", "-0.88195", "-0.67222", "-0.39833", "-0.09137", "0.21728", "0.49906", "0.73061", "0.89558", "0.98552", "1.0", "0.94587", "0.83601", "0.68746", "0.51951", "0.35157", "0.20137", "0.0834", "0.00782", "-0.02009", "0.0", "0.06391", "0.16378", "0.28913", "0.42813", "0.56886", "0.70044", "0.81402", "0.9034", "0.96543", "1.0", "1.00979", "0.99979", "0.9766", "0.94765", "0.92044", "0.90182", "0.89743", "0.91123", "0.94534", "1.0", "1.07371", "1.16358", "1.26574", "1.37579", "1.4893", "1.60227", "1.71145", "1.81464", "1.91077", "2.0", "2.0835", "2.16338", "2.24235", "2.32344", "2.40974", "2.5041", "2.60888", "2.72587", "2.85612", "3.0", "3.15721", "3.32697", "3.50809", "3.69923", "3.89905", "4.10637", "4.32034", "4.54051", "4.7669", "5.0", "5.24072", "5.49036", "5.75044", "6.02268", "6.3088", "6.61047", "6.92923", "7.26638", "7.62302", "8.0", "8.39794", "8.81733", "9.25854", "9.72192", "10.20785", "10.71685", "11.24957", "11.8069", "12.38992", "13.0", "13.63867", "14.30769", "15.00899", "15.7446", "16.51666", "17.32733", "18.1788", "19.07328", "20.01295", "21.0"]
]
},
"axis": {
"x": {
"label": "Fibonacci index"
},
"y": {
"label": {
"text": "Generalized Fibonacci Number",
"position": "outer-middle"
}
},
},
"tooltip": {
},
"zoom": {
"enabled": true
},
"subchart": {
"show": true
},
"size": {
"width": 600,
"height": 300
}
});
/*]]>
<!--dummy comment to make c-style comments for cdata work-->
*/
</script>
</div>
</body>
</html>
|