Well not really sure if the above definitions are really good ones.
But for an example a "DataDriven" example may be the getRoman() function from
this post. It uses a look-up table to do a conversion to roman numerals.
For a "function-driven" example you can look at any function that calculates something -- for example the classic factorial.