Choose bars for category magnitude
Bar length encodes magnitude from a zero-inclusive scale, making independent categories easier to compare. Reordering categories may be valid when the order has no inherent meaning.
Choose a line for an ordered sequence
A line connects adjacent values, so chronological or logical order matters. Fully numeric X values use proportional spacing; categorical X values preserve row order.
The connection does not predict missing observations or establish a cause.
Related choices
Use Step Chart when changes occur at discrete boundaries and choose Area only when distance from zero should receive visual emphasis.