nicolaskruchten / pivottable

Open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.
https://pivottable.js.org/
MIT License
4.35k stars 1.08k forks source link

Is it possible to show Geo Location Charts ???? #258

Closed kumar31rajesh closed 9 years ago

kumar31rajesh commented 9 years ago

Hi Nicolas, I am using your pivottable library and its very fantastic .Your library provide functions to create line,bar ,table,HeatMap charts is it possible to create Geo Maps using your library if yes can you tell me how i can show Geo Map for location based data using your library ????? \ image

I tryed with my sample data but whenever i tryed to select the map its showing error.

nicolaskruchten commented 9 years ago

Unfortunately this is not possible with this library: the shape of the data that this library generates is not compatible with Google Maps geo charts

kumar31rajesh commented 9 years ago

Ok thanks ,i thought it can generate this chart.Means i have to be extend library for this purpose right.

nicolaskruchten commented 9 years ago

yes, if you need this feature you will likely need to modify this library.

kumar31rajesh commented 9 years ago

Hi nicolas,

i want to use differant aggregators in my code for pivot() function but i am not able to get it only count is working others are not working can you help me by any sample code .

nicolaskruchten commented 9 years ago

Hi,

I would really appreciate it if you could create a separate issue with this question, as it is unrelated to the original topic of this current issue, and this current issue is closed.

Thanks

ghost commented 6 years ago

@nicolaskruchten may I know how come geo maps are not compatible? in my csv I have a country row and some data which I want to show on the map the data format looks very similar to what Google is showing, thanks

nicolaskruchten commented 6 years ago

@LittleHamster please create new issues rather than commenting on old ones, as the latter generates notifications to everyone on the thread.

To answer your question, as I stated above the output of PivotTable.js' aggregation cannot match the inputs required by Google Charts' geo types, regardless of what your input CSV might look like.