I would like to have user can see where are they come and how many comment and make total group by country:

How do I make this work?

 google.load('visualization', '1', {'packages': ['geochart']});

  function drawRegionsMap() {
    var data = google.visualization.arrayToDataTable([
      ['Country', 'Politics'],
      $sql = mysql_query("SELECT country, count(*) as total FROM comments WHERE userid = '$userid' GROUP BY country");
      echo $row['total']

    var options = {'backgroundColor': '#E9F6FD'};

    var chart = new google.visualization.GeoChart(document.getElementById('chart_div'));
    chart.draw(data, options);
Thank you for the help.