Bagplot with Reformatted Data

Data Formatting

This expects data to be provided as a csv file with column headers as follows:

  • `bag_x`
  • `bag_y`
  • `fence_x`
  • `fence_y`
  • `center_x`
  • `center_y`

Each row is an entirely new bag. So you should provide a single csv with all the bags that should be visualized at once. Each "cell" will then be a comma separated list of all the necessary values. So for instance, `bag_x` will have all of the x coordinates of the points that create the bag, and `bag_y` will have all of the y coordinates. This should be a comma separated string and each pair should be the same length. For example, the csv that creates this bagplot can be viewed here.