On $d$-algebras