I need to display no of orders/revenue/sales etcc in d3.js topojson based chloropleth map for 170 countries at county/state level . the user is allowed to select country from dropdown and corresponding country chloropleth map should be displayed .
I have to implement similar to this http://bl.ocks.org/thedod/4548858 for 170 countries . I will be integrating this html inside a jsf page in java j2ee project.
- Do i have to create 170 topojson files and load on demand when the user selects a country from dropdown.
- Is there any readymade database .If i just pass a country name/code just return me a topojson of that country with admin2 details.
Please provide me a solution / better practise. I want only open sourcejava based technology/librarries .