Skip to content

Instantly share code, notes, and snippets.

@patovala
Created December 1, 2014 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patovala/abd31615dcd4d1f06832 to your computer and use it in GitHub Desktop.
Save patovala/abd31615dcd4d1f06832 to your computer and use it in GitHub Desktop.
var removeDamageData = function(i){
return (('sourceIP' in row) && ('destinationIP' in row) && ('appProtocol' in row) && ('destinationPort' in row) && ('contentBytesTotal' in row));
};
var pgraph = element.find('.parcoords')[0];
function renderMe(){
if(scope.parallelData){
var dataToShow = scope.parallelData.filter(removeDamageData);
var graph = d3.parcoords()(pgraph)
.data(dataToShow)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment