Observe the graph:
Graph the function represents about the domain and range of the function.
Since, the domain is and range is .
Therefore, the only right answer.
Option D is right choice.