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])