diff --git a/chart2/svgGraphs.html b/chart2/svgGraphs.html index 23f96d6..2a97b27 100644 --- a/chart2/svgGraphs.html +++ b/chart2/svgGraphs.html @@ -36,7 +36,7 @@ .append("g").attr("transform", "translate(" + margin.left + "," + margin.top + ")"); - // Get the data + // Get the data from csv d3.csv("expensestrend.csv", function(error, data) { if (error) throw error; // format the data diff --git a/playground/variables.js b/playground/variables.js new file mode 100644 index 0000000..3715818 --- /dev/null +++ b/playground/variables.js @@ -0,0 +1,14 @@ +console.log("Starting...."); + +var c; + +console.log(c); + +var d = 55; + +// template literal `..` +console.log(`My answer is ${d}`); + +var x = 10; +var y = 20; +console.log(`Translate(${x}, ${y})`);