User:Technical 13/blueprints
Ratio display
This is a simple circuit that will take an input of multiple types of items and give a multicolor representation of that on a string of lights or as a pie chart.
The only settings to change are signal [L] which is a count of the number of lights you are using and the filters for which items produce which colors. I have created it to allow use of all 6 of the currently allowed colors, but you can easily remove unused sections/colors. Colors must follow the existing progression due to the way it works overwriting colors, but you can remove any colors you don't like as long as the order stays the same.
You can expand the light bar as far as you want or trim it down to as low as five lights for two items if you check the balance of two items. Note that since Factorio uses integer math, any decimals simply get truncated instead of rounded.
0eNrlXF1z6jYQ/St3/NjCra2VjOGhv+D27b51MhkDuqCpsak/kjIZ/ntlOyEGLLRrbk3HfkkCjtb2ObvyOSvBm7OMCrlPVZw7izdHrZI4cxZ/vjmZ2sRhVL6XH/bSWTgqlztn4sThrnwVpirf7mSuVtNVsluqOMyT1DlOHBWv5T/OwjtOrDGyXRhF0yjc7RsDGWJgKtfTV5XKxjBADNukUsaXA/nxaeLIOFe5kvWdVy8Oz3GxW8pU38lpfIlNHsZ5844nzj7J9NgkLk+r401nE+egfwl9irU+1ao+xibl8DxNouel3IYvSo/VA36oKJcpCvHXJFnry19tZZaX179KipIzD0iYqzS5jjEjoZ/lUkbX1+GSuIiSjcqq7CnjTDONZbiRjXiiwRA5XKhRf5HTfZq8qLVMG2H5Kaygh03l34X+fRbQY6eI/vGpej+Oa9azMq5X/tAJ20wtta7ub6XSVaHy6mXFXeOwf3n46Xhs/MtHcrJPVoqlTs4q2a5zkn8VdVbqP9rCwCnMUm2mMtLXn+q73ieRvI7mWoJxYsHM62hwXjC8Q8G8qDQv9DufoFT/MX3dalrPctW1FI0p0rdGFOY2yobA/AxHrbDMtcaZB74KFJSfYZ/14bU6XfgPlWb5MxoTGa62NSw12+/4JnuZ1vm4cH7Rg5Ii3xfksEc8rl5FAjMcneNQ98moB/8X1C8w/7UD5t/7B3xGBvx9vvB6Bvw0iWSyjPNMmzOazPzWgZlvJGYqUVPJHQsr7CaFHsdxGHSdqv4rDm9pHip9338GfTUXFArnt/WB511T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