From adc28d4fc47a6440676be44195d8908fced78ae4 Mon Sep 17 00:00:00 2001 From: Ellie Frymire Date: Fri, 31 Aug 2018 13:08:52 -0700 Subject: [PATCH] debugging 8 --- read_and_reply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/read_and_reply.js b/read_and_reply.js index 8053b9c..fd974ab 100644 --- a/read_and_reply.js +++ b/read_and_reply.js @@ -31,7 +31,7 @@ const parse = (text) => { const makeViz = (data) => { console.log('vizing... ') - if (data.length) { + if (data === null) { const xScale = scaleLinear() .domain([data[0][0], data[data.length-1][0]]) .range([0, 10])