I don't understand why the graph of $y=\frac{1}{x}$ is a curve. Consider if $x$ doubles. The subsequent value of $y$ would half. When $x$ were to triple, the value of $y$ would divide by $3$.
It seems to me that the relationship is linear. However, when you plot this it is most obviously a curve. What's going on?

This is because, $y$ varies with $x$ inversely; from this relation it gets clear that in the extreme case scenario, asymptotes will be achieved: as $y$ increases manifold, $x$ decreases the same folds and vice-versa. But as this variation is linear, there is a somewhat ‘equilibrium’ point and the approach of the function towards this point gives the hyperbola (a curve) its characteristic shape, except the asymptotes.