I think in Stack Exchange profile, top tags sorted by all reputation (answers reputation + questions reputation). But we could see only the answer reputation for each tag on the profile page or tag page.
However, in the SO mobile app, we could see all reputation top tags in our home profile.
So, I decided to run a query in the data.StackExcange to get something like that, but I didn't succeed.
Here's my query:
select p.OwnerUserId as [User Link]
, sum(p.score) as post_repuation
from posts p
inner join posts q on q.id = p.parentid
where p.OwnerUserId = ##userid?3702377##
-- and p.posttypeid = 2 -- answers
and q.tags like '%##TAG##%'
group by p.OwnerUserId