The domain is the set of inputs, or x-coordinates:

The range is the set of outputs, or y-coordinates: