Yes, SQL is declarative.
But you still "SELECT" something to look at. A SELECT statement is, by itself, sufficient to get something to happen (for results to be fetched).
On the other hand, a D3 enter() does absolutely nothing by itself. You must do further calls for it to have any impact.
This is very off topic and ridiculous.