I am working with county level shapefile for China and for each county I have some values.
I have uploaded the shapefile in Json format in Power BI like below.

I wanted to create legend as below map which I have created using QGIS.

Your suggestion is highly helpful.