When you find yourself trying to remember a show (or any works) that's on the tip of your tongue but just out of reach, come here - the collective brain of the TVTropes community can probably help. Post all the details you can remember (examples help). If you're looking for a trope, head over to Trope Finder. Have general questions about tropes? Visit Ask The Tropers!
The visual isn't the same, but as far as catchy jazzy tunes at the end of 30 minute science programs go, there's always Eyewitness (See here https://youtu.be/54JgfUku2Ow?t=22s)
.
The opening (https://www.youtube.com/watch?v=Uwarhzl76D8)
is usually what people remember, but that arrangement is less "jazzy" and more "Andean pan pipe convention." Not that Andean pan pipes can't be jazzy.

I'm trying to remember the name of a TV show, I believe it was 1/2 hour weekly, with segments on science. The ending was always a catchy jazzy tune, with some natives dancing / walking off into the sunset, away from the camera. It may have been a Canadian production from CBC.