uwgraphics / d3-twodim

A D3.v3.js module for creating 2D representations of data
http://uwgraphics.github.io/d3-twodim/
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

Abstract point-drawing in scatterplot.js in order to add other representations #20

Open yelper opened 7 years ago

yelper commented 7 years ago

Like the title says -- need to refactor the code in scatterplot.js to enable adding functionality for other representations, such as binning, weaving, etc.

Consider also making a hook for people to define their own methods for drawing points (e.g., given a set of data, write your own function to bind that data to shapes).