Commit 5ffad1cd authored by Administrator's avatar Administrator

[FEATURE] CSV data format adapted to sql output.

parent d4a7fcc9
...@@ -17,7 +17,7 @@ d3.selectAll("#version").text(dc.version); ...@@ -17,7 +17,7 @@ d3.selectAll("#version").text(dc.version);
// //
d3.csv("/data.csv", function (data) { d3.csv("/data.csv", function (data) {
// since its a csv file we need to format the data a bit // since its a csv file we need to format the data a bit
var dateFormat = d3.time.format("%m/%d/%Y"); var dateFormat = d3.time.format("%Y/%m/%d");
var numberFormat = d3.format(".2f"); var numberFormat = d3.format(".2f");
data.forEach(function (e) { data.forEach(function (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment