Interactive Exploration of Contour Data



Bryan Hanson timelyportfolio

See all contributors


exCon: Interactive Exploration of Contour Data

exCon is an interactive tool to explore topographic-like data sets. Such data sets take the form of a matrix in which the rows and columns provide location/frequency information, and the matrix elements contain altitude/response information. Such data is found in cartography, 2D spectroscopy and chemometrics. exCon creates an interactive web page showing the contoured data set along with slices from the original matrix parallel to each dimension. The page is written in d3/javascript.

Installation from Github using R:

install_github(repo = "[email protected]")

If you use @some_other_branch you can get other branches that might be available. They may or may not pass CRAN checks and thus may not install automatically using the method above. Check the NEWS file to see what's up.

Installation from CRAN using R:

chooseCRANmirror() # choose a CRAN mirror


  • Extend guides into slice areas?
  • Make layout responsive to dimensions & aspect ratio of original data.
  • Color different contour levels & add scale.
  • Cosmetic: units like 1,800 can run into the slice area.
  • What can be done to improve performance with large data sets? One possibility: hold updating of slices until mouse stops moving.


exCon was developed by Kristina R. Mulry and Bryan A. Hanson starting in the Spring of 2014, at DePauw University. Contributions from others listed in the NEWS file.

License Information

exCon is distributed under the GPL-3 license. For more info, see the GPL site.

Questions? [email protected]

Action! The volcano data set from R viewed with exCon.

Click here to see exCon in action