Figure B does represent a function, because for every input (x) value, there is exactly one defined output (y) value. The gap in the line (between x = 0 and x = 3) does not preclude this from being a function; the function is just undefined here. Are multiple y-values defined for any x-value in Figure A?