I2c potentiometer

Is there a way to implement these?
For instance: