I would like to reproduce the diagram in 2.1 of https://www3.nd.edu/~wgd/Dvi/CalculatingSimplicialLocalizations.pdf
So far I have this piece of code but I don't know how to fill cells with horizontal lines as in the link above:
\begin{tikzpicture}
\matrix[matrix of math nodes]{
& C_{0,1} & C_{0,2} & & \cdots & & C_{0,n-1} & \\
& & & & & & & \\
X & & & & & & & Y \\
& & & & & & & \\
& & & & & & & \\
};
\end{tikzpicture}
tikz-cd
package for this purpose.