Using MySQL table column of type string as X-Axis

My MySQL table has semver column of type string (“x.y.z”) and a metric. I want to plot it as a graph with product semantic versions on X-Axis and actual metric value on Y-Axis. Is it possible?