ShortCode
[d3_globe]
This [d3_globe]
shortcode produces a 3D globe created using the WordPress D3 Globe Plugin. Using D3 – a JS framework that helps visualizing data in many ways – the below is just a mere blank slate of a Globe this Plugin can produce.
Data could be plotted on the globe, and the entire construct is interactive.
There are a bunch of examples on what D3 generally is capable of here.
The WordPress D3 Globe Plugin is not capable of all those features yet. Currently, all settings are hardcoded in the source and you need JS and PHP knowledge to amend the settings.
However, what you see below can be easily produced using the single [D3-Globe]
ShortCode, placed into an HTML element of any kind with ID globe-container
. This container with ID globe-container
will set the width and height to the canvas rendering our (background and) Globe.
Usage:
[d3_globe]
Result: