Image
Code

Fork of Scatter Plot with Missing Data

tejasreddyvepala

Last edited Apr 26, 2024
Created on Apr 26, 2024

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

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