var options = {
  container: document.getElementById('myChart'),
    title: {
      text: "Count over time",
    },
  data: [
    { date: new Date(2025, 01, 01), count: 0 },
    { date: new Date(2025, 02, 01), count: 10 },
    { date: new Date(2025, 03, 01), count: 25 },
  ],
  series: [
    {
      type: 'line',
        xKey: 'date',
        stacked: true,
        yKey: 'count',
        yName: 'Count',
    },
  ],
  axes: [
    {
        type: 'time',
        position: 'bottom',
        unit: 'month',
        nice: true,
        crosshair: {
          enabled: false,
        },
      },
    {
        type: 'number',
        position: 'left',
        nice: true,
        crosshair: {
          enabled: false,
        },
      },
  ]
};

var chart = agCharts.AgChart.create(options);

.wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#toolPanel {
  text-align: center;
}

.spacer {
  display: inline-block;
  min-width: 20px;
}

#myChart {
  height: 100%;
}
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>JavaScript example</title>
		<meta charSet="UTF-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1"/>
		<style media="only screen">
            html, body {
                height: 100%;
                width: 100%;
                margin: 0;
                box-sizing: border-box;
                -webkit-overflow-scrolling: touch;
            }

            html {
                position: absolute;
                top: 0;
                left: 0;
                padding: 0;
                overflow: auto;
            }

            body {
                padding: 1rem;
                overflow: auto;
            }
        </style>
		<link rel="stylesheet" href="styles.css"/>
	</head>
	<body>
			<div id="myChart">
			</div>
		</div>
		<script>var __basePath = './';</script>
		<script src="//www.ag-grid.com/archive/25.2.0/dev/ag-charts-community/dist/ag-charts-community.js">
		</script>
		<script src="main.js">
		</script>
	</body>
</html>
This chart shows the difference between using a log scale and a numeric scale edit the code to see the difference in the Fortune 500 data set rendering.

Using the free AG Grid Charts Community Edition.

This chart shows the difference between using a log scale and a numeric scale.

Try for yourself by changing the type in main.js from log to number.

Learn more at https://www.ag-grid.com/javascript-charts/axes/