Is it possible to display a visitor’s location using a shortcode?

Yes. You can display a visitor’s continent, country, state, city, and timezone anywhere on your site using a simple shortcode.
Example – the shortcode below displays the visitor’s country name
[ifsoDKI type='geo' show='country']
The option works out of the box and does not require custom code.