Declaring the type property of an axis object as logarithmic will render its data according to a logarithmic scale. Change one of the axes of the previous example to type: 'logarithmic' and the line will become a curve, as shown as follows. It seems that the distribution of data points has improved in this visualization. They are a bit closer and the chart reveals some data that was not visible before:
We can improve it. Since both scales contain the same population data, we can declare the type of both ...