An electro-optical device includes, on a substrate, three sub-pixels, three sampling switches, three data lines, three image signal lines, and three lead wiring lines. The three sub-pixels correspond to red, green and blue, respectively. The three sub-pixels are included in a unit pixel. The three sampling switches correspond to the three sub-pixels, respectively. The three data lines electrically connect the three sub-pixels and the three sampling switches with each other, respectively. The three image signal lines, which are provided on a side opposite to the three sub-pixels with respect to the three sampling switches, correspond to the three sampling switches, respectively. The three lead wiring lines electrically connect the three sampling switches and the three image signal lines with each other, respectively. Among the three sampling switches, a sampling switch corresponding to green is disposed close to the three image signal lines compared to other two sampling switches.
Electro-optical device and electronic apparatus