Create density map of districts in Kerala , india

I want to create a map chart of district-wise population density of the state of kerala in india. My database has table with district wise info on population.

You will need to create a GeoJSON file having coordinates of all those district then map them to the map. For reference:

Also an example here: