It is two in the morning at Badwater Basin, the lowest point in North America at 282 feet below sea level. The temperature has dropped to 95Β°F. A small, pale mammal the size of a large gerbil emerges from a burrow entrance in the hardpan, pauses, then launches itself across the salt flat in long bipedal bounds, five feet a leap, tail spinning for balance. It lands without a sound.

It won't drink water tonight. It never does.

Dipodomys deserti, the Desert Kangaroo Rat, is one of the most physiologically extreme mammals on Earth. It lives in one of the hottest, driest places on the planet and never drinks free water. It gets its moisture from dry seeds, through the same oxidative process every cell uses to get energy from carbohydrates. Its kidneys concentrate urine five times as efficiently as ours, and its nose recaptures moisture from each breath before it gets out. Over five million years in the Mojave basin, it has more or less done without liquid water altogether.

DIPODOMYS is an interactive data portrait of the two kangaroo rat species that share Death Valley. It's built on live iNaturalist occurrence data and Leaflet maps, with as much natural history as I could pack into one HTML file.

Two Species, One Valley

The Specialist
Dipodomys deserti
Pale as bleached sand. Larger. Five hind toes. Lives almost entirely on open, firm sandy flats and alluvial fans, and needs loose, wind-deposited sand to burrow in. Won't go onto rocky ground. Its range barely reaches past the Mojave. It bet everything on one habitat and has been winning for millions of years.
The Generalist
Dipodomys merriami
Smaller, darker. Four hind toes. Most widespread kangaroo rat in North America. Lives in desert scrub, sagebrush steppe, alluvial bajadas, Joshua tree woodland, rocky slopes. Ranges from California to Texas. Where deserti specialized, merriami generalized, and you can see the tradeoff. Merriami is everywhere. Deserti is only here.

Where the two species meet, as they do across Death Valley's sandy flats, they split up the ground. Deserti takes the open dunes. Merriami works the scrub around them. The line between them is ecological rather than geographic, drawn in seed patches, burrow densities and nightly foraging rounds.

How They Survive

🌑️
Burrow ThermoregulationSubsurface temperatures at 18 inches run 20–30Β°C cooler than the surface. During the worst heat, the animal stays underground.
πŸŒ™
Nocturnal ActivityIt comes out after the surface cools and goes back in before dawn. To a kangaroo rat, the desert floor at night is a perfectly friendly place.
πŸ‘‚
Enlarged Auditory BullaeThe oversized middle-ear chambers that give kangaroo rats their wide-skulled look. They evolved to pick up the low-frequency wingbeats of an owl coming in, in near-total darkness.
πŸ’§
Metabolic WaterNo free water. Ever. Its moisture comes from dry seeds. Kidneys concentrate urine at 5Γ— human efficiency. Nasal passages recapture exhaled moisture.
🦘
Bipedal SaltationExplosive escape jumps of up to nine feet, which make them very hard for a striking rattlesnake to catch. Five million years of selection pressure did that.

The Data

The page pulls live from the iNaturalist API every time it loads. There are no cached datasets or static files. Every dot on the map is a georeferenced sighting from a naturalist, a researcher or a citizen scientist, and a lot of them were photographed by phone flashlight in the middle of the night, in one of the most remote deserts in the United States.

The timeline chart shows the citizen-science boom plainly. There's a long flat line of museum specimens from the early 20th century, a small rise from mid-century field surveys, and then, after about 2012, a near-vertical spike as iNaturalist caught on. That's a real bias. We know more about where these animals were seen in 2023 than in 1983 because more people were looking, not because the rats moved.

The elevation chart shows the split directly. Deserti clusters tightly near and below sea level, on the valley floor and the lower alluvial fans. Merriami spreads over a wider range of elevations and turns up on bajadas, in canyons and on the slopes of the surrounding ranges.

"The gaps on the map are not just places where kangaroo rats don't live β€” they are places where people with smartphones don't go."

The Stack

Kept small on purpose. It's one HTML file with no frameworks, no build step and no dependencies to rot. The map is Leaflet with MarkerCluster on CartoDB Dark Matter tiles (a desert night wants a dark basemap). Chart.js draws the timeline and elevation charts, and iNaturalist API v1 supplies the sightings and CC-licensed field photos. Six API calls on page load, everything rendered in the browser, and nothing to maintain.

I like that the design matches the animal. Dipodomys deserti has lived in the desert for five million years on exactly what it needs and nothing it doesn't, and the website tries to do the same.


Live at brooksgroves.com/dipodomys. Open source at github.com/bdgroves/dipodomys. Dipodomys deserti survives 134-degree heat without drinking water. It has earned a decent website.


Go deeper

📄 Read

Schmidt-Nielsen, K. & Schmidt-Nielsen, B. (1952). Water metabolism of desert mammals. Physiological Reviews 32(2), 135–166.

Best, T.L., Hildreth, N.J. & Jones, C. (1989). Dipodomys deserti. Mammalian Species 339, 1–8.

Whitford, M.D., Freymiller, G.A. & Clark, R.W. (2017). Avoiding the serpent’s tooth: predator–prey interactions between free-ranging sidewinder rattlesnakes and desert kangaroo rats. Animal Behaviour 130, 73–78.

Freymiller, G.A., Whitford, M.D., Higham, T.E. & Clark, R.W. (2019). Escape dynamics of free-ranging desert kangaroo rats (Rodentia: Heteromyidae) evading rattlesnake strikes. Biological Journal of the Linnean Society 127(1), 164–172.

Di Cecco, G.J., Barve, V., Belitz, M.W., Stucky, B.J., Guralnick, R.P. & Hurlbert, A.H. (2021). Observing the observers: how participants contribute data to iNaturalist and implications for biodiversity science. BioScience 71(11), 1179–1188.

📊 Data & agencies

iNaturalist — the community sightings behind the map. · iNaturalist API v1 — the calls the page makes. · GBIF: Dipodomys deserti — museum and field records, all in one place.

Death Valley National Park: Mammals — the park’s own list, with four kangaroo rats. · DIPODOMYS — the live data portrait. · dipodomys on GitHub — this project’s code.