Skip to content

A lightweight, browser-based tool that lets event riders visualize elevation over distance for equestrian cross-country courses. It fetches course data from the [CrossCountry App](https://www.crosscountryapp.com/) API and plots it as a clean, interactive elevation chart to help riders preview terrain before riding.

Notifications You must be signed in to change notification settings

Sarika-sh/cross-country-elevation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‡ Cross Country Elevation Profiles

A lightweight, browser-based tool that lets event riders visualize elevation over distance for equestrian cross-country courses.

It fetches course data from the CrossCountry App API and plots it as a clean, interactive elevation chart to help riders preview terrain before riding.


πŸ”— Live Demo

πŸ‘‰ Try It Live


πŸ“Œ How It Works

To view course elevation profiles, you can use the live demo with the following course IDs, which are known to work well:

  • gcptey (Melbourne)
  • vdwk2d (Bramham)
  • wplcez (Bromont)

Use the live demo link with one or multiple IDs like this:
https://sarika-sh.github.io/cross-country-elevation/?ids=gcptey

Or to compare multiple courses, separate IDs with commas:
https://sarika-sh.github.io/cross-country-elevation/?ids=gcptey,vdwk2d,wplcez

Note: Using other course IDs from the CrossCountry App may not always return data due to API limitations.


🎯 Features

  • πŸ“‰ Elevation graphs for horse riding cross-country courses
  • πŸ“ Relative elevation mode: All routes start at the same height for easy comparison
  • 🎨 Unique color for each route
  • 🧭 Interactive legend (click to toggle lines)
  • 🧠 Hover tooltips with distance + elevation
  • πŸ“± Fully responsive & mobile-friendly

πŸ› οΈ Built With


πŸ“ Project Structure

πŸ“¦ cross-country-elevation β”œβ”€β”€ index.html # Main HTML page β”œβ”€β”€ script.js # Core logic (fetch, render, tooltips) β”œβ”€β”€ style.css # Styles for the app └── README.md # You're here!


πŸ’‘ Future Improvements (Ideas)

  • Option to switch between relative and absolute elevation modes
  • Better mobile support & touch interactions
  • Download graph as PNG
  • Shareable links with pre-loaded IDs

πŸ™ Acknowledgements


About

A lightweight, browser-based tool that lets event riders visualize elevation over distance for equestrian cross-country courses. It fetches course data from the [CrossCountry App](https://www.crosscountryapp.com/) API and plots it as a clean, interactive elevation chart to help riders preview terrain before riding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published