This version uses a common Vin, so you'd need 10 cables
1 Vin
2 D1
3 D2
4 D3
5 D4
6 D5
7 D6
8 D7
9 D8
10 D9
For simplicity I wired the cathodes of the LEDs together, in reality you wouldn't have LEDs but simply the output cable.
I'm open for constructive comments, feel more than welcome to use this common design in your circuits! :)