dalejung / id3

interactive d3
Apache License 2.0
4 stars 0 forks source link

Support separating data and geoms? #14

Open dalejung opened 11 years ago

dalejung commented 11 years ago

Something like this:

Layer().data(data).geom(Line)

Shouldn't be that hard to do.

dalejung commented 11 years ago

Actually more like

Layer.data(data).geom(Line).geom(Marker())
dalejung commented 11 years ago

With this commit I can do Layer().data(data).geom(Line()).geom(Marker())

dalejung commented 11 years ago

Technically it seems that a layer is really just data and View and chart creation (geoms)