Adding example with ordinal scale and axis
Moving function braces for readability