Well, it's both, actually. Both online and time trials have a competitive community and online was the more popular one before Nintendo shut down the servers. Now with the help of unofficial servers, it is still possible to play online, but the time trial community is much more popular now...