Hi Ralph, Your idea of using the ScatterChart with styles for colors and sizes is exactly what I have partially implemented as an eventual replacement for the BubbleChart. You could do this now, on top of the current API. Here is an early prototype (not generalized at all) to give you the idea: https://jsfiddle.net/dlaliberte/3dajLf4w/
The MotionChart actually uses a variation of the BubbleChart implemented in Flash, and we are planning to replace the MotionChart entirely with the BubbleChart, along with extras to support the animation control and other features. I have a prototype of that idea as well, but many other things needed to be done first. Also, FYI, the ScatterChart is implemented internally using the LineChart, with no lines and larger points. When that change was made, this allowed ScatterChart to work with discrete domain values, and a couple other features. On Tue, Jan 24, 2017 at 12:18 PM, Ralph Emaurice <[email protected]> wrote: > I am looking to create a scatter plot such that the x and y axes can be > picked from any two columns in a table. Preferably, you could add 3rd > (size) and 4th (color) dimensions to this as well. > > A long time ago, I used the Motion Chart object, which was beautifully set > up for interaction this, in terms of setting multiple dimensions as well as > the ability to filter discrete categories: > > <https://c1.staticflickr.com/4/3088/2800060944_4b1fd96026.jpg> > > Do you have any suggestions for recreating this with the current API, or > is there any existing related code? I've searched and couldn't find any > examples like this. > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to google-visualization-api@ > googlegroups.com. > Visit this group at https://groups.google.com/ > group/google-visualization-api. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-visualization-api/b577a7bb-ac0f-4802-bc18- > c06ea45960ce%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/b577a7bb-ac0f-4802-bc18-c06ea45960ce%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJM4YDcqVz_YZw8MmiEmnO_fdzCa7n9%2BC-d1iEcZmoH2RQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
