react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

Choropleth map support

Open cvalmonte opened this issue 7 years ago • 1 comments

An interactive choropleth heat map would be awesome (i.e. hovering over US states and viewing their population via the Crosshair component)

Here is an example: https://www.amcharts.com/demos/us-heat-map/ D3 example: https://beta.observablehq.com/@mbostock/d3-choropleth

cvalmonte avatar Dec 12 '18 18:12 cvalmonte

I think this should totally be possible! If you just grab the relevant geojson and pull out the coordinates than I think you can drop them into the XYPlot via PolygonSeries. Doing this will ignore projection, but that can be manipulated through d3-choropleth just like you suggest.

mcnuttandrew avatar Dec 13 '18 17:12 mcnuttandrew