JSFiddle - React, Tailwind, and code Playground

HTML

<canvas id="chart_id" width="400" height="150"></canvas>

<script src="https://cdn.jsdelivr.net/npm/chart.js@3.7.0/dist/chart.min.js"></script>

JavaScript

const ctx = document.getElementById('chart_id').getContext('2d');
const myChart = new Chart(ctx, {
  type: 'line',
  data: {
    labels: ['Jan', 'Feb', 'Mar', 'Apr'],
    datasets: [{
      label: 'Month',
      data: [90, 40, 50, 70],
      borderColor: "#084de0" // Place your color here
    }]
  }
});