Hey y’all, I’m wondering how best to implement a m...
# troubleshooting
a
Hey y’all, I’m wondering how best to implement a map-based chart that’s basically shading different US states based on the count of records with each state’s value in Evidence’s markdown pages. Any suggestions?
b
At this stage your best bet will be the
<ECharts/>
component: https://docs.evidence.dev/features/charts/custom-charts passing a config something like this: https://echarts.apache.org/examples/en/editor.html?c=map-usa-projection You'll also need a geojson file which encodes the boundaries of the states, as per the example above. Afraid we haven't done much work on maps yet! If you manage to get a good implementation going, do let us know, as it could definitely make sense for us to add something like this to the core library!