Probably there is something really simple that I'm missing but my question is this:
I am new to d3 and nvd3, and am trying to use them to plot a graph. However, everytime I open the browser console it says: "Reference Error: nv not defined".
This is what I am doing:
<html>
<head>
<meta charset="utf-8">
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="C:/Users/mou1av/Desktop/novus-nvd3-v1.8.2-168-g254a7b3/novus-nvd3-254a7b3/build/nv.d3.js"></script>
<script src="C:/Users/mou1av/Desktop/novus-nvd3-v1.8.2-168-g254a7b3/novus-nvd3-254a7b3/build/nv.d3.min.js"></script>
<link rel="stylesheet" type="text/css" href="C:\Users\mou1av\Desktop\novus-nvd3-v1.8.2-168-g254a7b3\novus-nvd3-254a7b3\build\nv.d3.css">
</head>
<script>
nv.addGraph(function(){
... //graph code
</script>
<body>
</body>
</html>
I tried all the steps in this question: NVD3.js: ReferenceError: nv is not defined
but I believe I am using all the right paths to my nvd3.js and nvd3.min.js. Can someone tell me what's wrong? Thank you.