Hello David,

you want size to be an *aggregation* function that totals the number of 
> items sharing a single point on the map


Yes, this is exactly what I had in mind! This would be a very cool feature 
to have, and in my example exhibit, this would also allow to significantly 
reduce the size of the json file since I would not have to duplicate the 
same publication as many US institutions / localization involved.

I was thinking that half of the job for such a feature is already done, 
since Exhibit is already counting the number of items at the same location 
without any size coder. This feature could for example be activated by a 
new setting for the Map view 
<http://simile-widgets.org/wiki/Exhibit/Map_View> like 
ex:autoSizeCoder=true|false

I wish I could help more, but I am reaching the limits of my programming 
skills :-) !

On Sunday, July 20, 2014 10:09:29 AM UTC-4, David Karger wrote:
>
>  Hi Frederic.  You've posed an interesting problem that doesn't have an 
> obvious solution right now.  Exhibit is intended to display a collection of 
> *items*.  And at the moment, the sizeKey is used to define a size 
> associated with *individual items*.  So it is perfectly plausible to 
> associate a size with each *institution* based on how many co publications 
> it has.   That would work out well, except that you would then be 
> restricted to filtering *institutions*.  It seems instead you want your 
> items to be articles.  And you want size to be an *aggregation* function 
> that totals the number of items sharing a single point on the map.  Right 
> now there's no way to do that.  It is an interesting feature and I will 
> give some thought to how it might be implemented in decent generality, but 
> I don't know when thinking will turn into code.
>
>
> On 7/18/2014 6:46 PM, Frederic_L wrote:
>  
> Hello,
>
> I am currently building an exhibit with the French-American scientific 
> co-publications in 2014. The "work in progress" exhibit is available here: 
> http://www.france-science.org/cartographie/carto_copublications_US.html 
> I am using the Exhibit map view to display the copublications on a US map, 
> using the sizekey to modifiy the size of the buble corresponding to the 
> number of copublications for each location/institution.
>
> It is* working well as long as a copublication involves only one US 
> institution (one sizekey per item)* and as long as the sizekey is the 
> same for each location in the .js file (for ex: the sizekey for MIT is 
> always equals to 177 in every item with the MIT location). so I only have 
> one location/sizekey for that item
>
> The problem is that in reality, *one copublication* involves most of the 
> time *several US Institutions*. So far, the workaround I found was to 
> duplicate the items/copublications involving several institutions into 
> items with only one US institutions each. It is working quite well, but the 
> side effect is that the *number of copublication on the Exhibit is bigger 
> than the actual number of copublications*.
>
> *Is there a way to make the sizecoder work with items with multiple 
> locations?*
>
> Optional question, does anyone know a way to resize the plot/bubble 
> according to the filtering (For example, if I select the Field "Physics", 
> the sizekey of the MIT should be 74 instead of 177 without this filter)?
>
>
>  
> <https://lh5.googleusercontent.com/-m0c_Z3MTg8Q/U8mcmbSCIPI/AAAAAAAACvE/5ffq2DT58-Q/s1600/carto_copublis.jpg>
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/simile-widgets.
> For more options, visit https://groups.google.com/d/optout.
>
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" 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 http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to