Spotfire® Enterprise Runtime for R

JavaScript-Enabled Packages

You can use the TERR-compatible CRAN packages that take advantage of JavaScript to generate graphs, plots, and map visualizations, and then display them in a browser and save them as graphic images.

In this section, create a variety of graphics by loading compatible packages and calling functions.

  • If your data has location information, such as a latitude column and a longitude column, and you want to create an interactive map, you can use the leaflet package.
  • If your data has location information, such as latitude and longitude from around the world, and you want to create three-dimensional, interactive map graphics, you can use the threejs package.
  • If your data has time and date columns, and you want to create a line graph, you can use the dygraphs package.