How to make backend rendered choropleth chart?


#1

I made backend choropleth using rasterChart with polys layer. it works fine but when I click on an area for filtering it shows

mapdc.js:5156 Error: Exception: Parse failed: Encountered "WHERE )" at line 1, column 32.
Was expecting one of:
    <EOF>
    "ORDER" ..

How does mapd immerse use backend choropleth (with working filtering)?


#2

Hi @shovon,

Have you referred to exampleMultiLayerMap.js under mapd-charting/example which shows rendering of polygons and using crossfilter feature.

Regards,
Veda


#3

can you please give me a working example?
I couldn’t make it work?


#4

exampleMultiLayerMap.js is already broken for a small typo aggregrate, even after fixing it, it still returns a error showing sql does not have a poly table.


#5

.popupColumns([‘color’, ‘key0’]) fixes the problem


#6

Hi @shovon,

I will discuss with engineering and get back to you.

Thanks!
Veda