"what if… economics", a simple one-page economics simulator: https://whatifeconomics.com
I wanted to have a place to see the effect of changing macroeconomic factors, e.g. interest rate, inflation, unemployment, etc. It's designed to show economic relationships for non-experts.
Source code: https://github.com/tagawa/what-if-economics/tree/gh-pages
I had similar idea, a tool to model the economy of a country. The idea would be to give to every one a simple tool to groundcheck political programms before voting. The economy is complex, there is no simple solution to a complex problem, only trade offs. But you need to see the effect of these trade offs before making a decision and elect one or another politician.
As someone with very little knowledge of economics, I played with the idea of writing a kind of wealth simulator, where money acts as voltage and keeps the economy running. It would allow you to eliminate jobs and replace them with AI and see how the circuit starves population groups which in turn cascade to other segments of the economy.
I never got to design a good representation of the entire ecosystem to simulate (external pressure, debt, military and technological advancements, international soft power, etc.).