Skip to content
Permalink
Browse files

Update d3.csv to v5 syntax

  • Loading branch information...
repeat committed Jul 10, 2019
1 parent 007f39d commit c465f749df24bdb727872fe3c372d4df22c03ec1
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.html
@@ -20,7 +20,7 @@
font-size: 14px;
}
</style>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<body>
<script>
// 擷取今日日期
@@ -403,7 +403,7 @@
schedule[trainNumber].trainWeekdays = trainWeekdays;
return schedule[trainNumber];
}, function (error, dataset) {
}).then(function (dataset) {
// 畫折線
dataset.forEach(function (data) {
var trainDirection = data.trainDirection,

0 comments on commit c465f74

Please sign in to comment.
You can’t perform that action at this time.