Using the d3.max function
Using ordinal scales and updating the axes