continuity of f at a point x means

other than using the word intensity where I think you mean density this looks correct.

There is an irrational number in any delta neighborhood of every rational no matter how small and vice versa.

So D has no limit at any of the rational or irrational numbers and thus is continuous nowhere.