Thermodynamic holography