react-vis
react-vis copied to clipboard
Choropleth map support
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
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.