Discussions

Expand all | Collapse all

How to make backend rendered choropleth chart?

  • 1.  How to make backend rendered choropleth chart?

    Posted 11-17-2018 16:28

    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.  RE: How to make backend rendered choropleth chart?

    Posted 11-18-2018 04:25

    Hi @shovon,

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

    Regards,
    Veda



  • 3.  RE: How to make backend rendered choropleth chart?

    Posted 11-18-2018 06:49

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



  • 4.  RE: How to make backend rendered choropleth chart?

    Posted 11-18-2018 08:28

    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.  RE: How to make backend rendered choropleth chart?

    Posted 11-18-2018 11:11

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



  • 6.  RE: How to make backend rendered choropleth chart?

    Posted 11-19-2018 02:37

    Hi @shovon,

    I will discuss with engineering and get back to you.

    Thanks!
    Veda



  • 7.  RE: How to make backend rendered choropleth chart?

    Posted 01-01-2019 17:36

    Hi @shovon,

    FYI, mapd-charting has been updated and the code for MultiLayer map as well as Multilayer Scatter chart examples are working now.

    Happy New Year!
    Veda