[Chartjs]-Does this library have a way of showing a world map?

3👍

No, chart.js doesn’t show a world map! but you can use a map library (such as leaflet or mapbox) and then overlay your chart on the map that you have created.

leaflet documentation:

https://leafletjs.com/

mapbox documentation:

https://docs.mapbox.com/mapbox-gl-js/api/

edit: if you want to draw some shapes (like circle ) on the map, the above libraries do that themselves.

Leave a comment