
new Chart(document.getElementById("doughnut-chart"), {
    type: 'doughnut',
    data: {
      labels: ["Effectué", "Prévu"],
      datasets: [
        {
          label: "Population (millions)",
          backgroundColor: ["#128342", "#E74C3C"],
          data: [2478,5267]
        }
      ]
    },
    options: {
      title: {
        display: false,
        text: 'world population (millions) in 2050'
      }
    }
});