DAC project questions

Thanks everyone for the responses. I wanted to clarify something. I’m not wanting to build a simple level indicator. What I’m looking for is a way to convert the read analog values back to binary, with the LEDs representing the 10 bits. At a reading of 682 I don’t just want the first half of the LEDs on. I want the LEDs to be High/low as follows: 1010101010