Tags

This was one of my pet projects, showing the site visits by country map. After browsed the internet, I found this company HighCharts. Personal use is free.

I was able to modify and got it to work quickly within a few minutes, thanks to excellent demos with JSFiddle on their company website. I hard coded the following lines. Of course, you can get these data from an API, etc.

var data = [{
        code: "US",
        value: "238",
        name: ""
      }, {
        code: "CA",
        value: "43",
        name: ""
      },
      ...
];

You can see the site visits so far for this year 2017, here, in plunker. Enjoy and have fun!

Site-Visits-By-Country-2017.png

 

References:

  1. HighCharts
Advertisements