Choropleth problem: tooltip data misaligned

Hello folks. I’m having another problem with Choropleth. My tooltip displays incorrect data and I have no idea how do I synchronize them. I would greatly appreciate some advice.

Here is my project in its current state https://codepen.io/VerminatorX1/pen/XWPvvYb

Hi, VerminatorX! It looks like you need to match the fips value code from the “for_user_education” JSON data to the matching id in the polygon data in “counties” GeoJSON data. It looks like right now, you’re matching it up based on the position inside of the array, instead of the matching id in the geometry data.

1 Like

Thank you very much! That was it, I wrote a function to synchronize counties.features.id with education JSON contents and now data is displaying correctly.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.