A lightweight, browser-based tool that allows event riders to visualize elevation over distance for equestrian cross-country courses.
This application retrieves course data from the CrossCountry App API and renders it as a clean, interactive elevation chart—helping riders preview the terrain before a ride.
Access the application here:
View Demo
To explore course elevation profiles, use the demo link with the following sample course IDs:
gcptey
(Melbourne)vdwk2d
(Bramham)wplcez
(Bromont)
Single course example:
https://sarika-sh.github.io/cross-country-elevation/?ids=gcptey
Multiple course comparison:
https://sarika-sh.github.io/cross-country-elevation/?ids=gcptey,vdwk2d,wplcez
Note: Other course IDs may not return data consistently due to API constraints.
- Interactive elevation graphs for equestrian cross-country routes
- Relative elevation mode: All routes aligned to start at the same elevation for visual consistency
- Unique color assigned per route
- Clickable legend to toggle individual lines
- Hover tooltips displaying distance and elevation
- Fully responsive layout for desktop and mobile devices
- HTML5
- CSS3
- JavaScript (Vanilla)
- Google Maps Elevation API
- CrossCountry App API
cross-country-elevation
├── index.html # Main HTML entry point
├── script.js # Core logic (data fetch, rendering, interactivity)
├── style.css # Application styles
└── README.md # Project documentation
- Toggle between relative and absolute elevation modes
- Improved mobile and touch interaction support
- Option to export graphs as PNG images
- Shareable URLs with preloaded course selections
- CrossCountry App – for providing access to course data
- Google Maps Platform – for elevation data services