Skip to content
@EconViz

Economic Diagram Visualizer

Open-source Python tools for drawing publication-quality economics diagrams: indifference curves, budget constraints, consumer equilibria, supply and demand.

EconViz

Open-source Python tools for drawing publication-quality economics diagrams.

Projects

Repository Description
econ‑viz Indifference curves, budget constraints, and consumer equilibria — with a built-in solver, closed-form demand in TeX, Slutsky tools, and PNG / PDF / SVG / TikZ export.
principle‑econ Principles-level market analysis: linear demand and supply, taxes, price controls, and welfare decomposition (CS, PS, DWL).
econ‑viz‑docs Documentation source for econ-viz.org, built with MkDocs Material.

Quick Start

pip install econ-viz
from econ_viz import Canvas, levels, solve
from econ_viz.models import CobbDouglas

model = CobbDouglas(alpha=0.5, beta=0.5)
eq    = solve(model, px=2.0, py=3.0, income=30.0)

cvs = Canvas(x_max=20, y_max=15, x_label="x", y_label="y")
cvs.add_utility(model, levels=levels.around(eq.utility, n=5))
cvs.add_budget(2.0, 3.0, 30.0, fill=True)
cvs.add_equilibrium(eq, show_ray=True)
cvs.save("cobb_douglas.png")

Cobb-Douglas indifference map with budget line and equilibrium point

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md in the main repository to get started.

Contact

Questions, collaboration, or teaching use? Email contact@econ-viz.org.

Pinned Loading

  1. econ-viz econ-viz Public

    A Python toolkit for drawing publication-quality indifference curves, budget constraints, and consumer equilibria — with a built-in solver, LaTeX parser, and flexible themes.

    Python 6

  2. econ-viz-docs econ-viz-docs Public

    Documentation source for econ-viz — a Python toolkit for producing publication-quality microeconomics diagrams.

    Python

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…