I want to design a map component similar to
WHO Coronavirus Disease (COVID-19) Dashboard map component. for a particular country, where different regions can be selected based on a prop.
WHO Coronavirus Disease (COVID-19) Dashboard
any references or guidance would be much helpful. I have no clue to do it. don't downvote it
First of all, you will need a Chart library like https://d3js.org/ to be enable to plot the graphs. I found D3js to be the most flexible amongst all the libraries.
Then you can integrate the data from your database to the plotting methods provided with the library
Examples of D3js plots:
Other Plotting libraries