Each C has 4 valance electrons and each C atom joins to four other C atoms to form a tetrahedral lattice. Each C atom has four sp³ hybrid orbital which are directed to the four corners of a tetrahedron. The tetrahedron unit cell gets repeated throughout the lattice thus forming a three dimensional network.