Export Image
Export Code

Fork of Scatter Plot with Missing Data

print("Ayush")

Last edited May 07, 2024
Created on May 07, 2024

A demonstration of how to filter out missing data, leveraging Array.filter and isNaN.

const filteredData = data.filter(
  (d) => !(isNaN(xValue(d)) || isNaN(yValue(d))),
);
MIT Licensed