# Interactive phase diagram visualizer for triple points, boiling curves, and critical points
This phase diagram visualizer turns an abstract pressure-temperature chart into an interactive map. Choose a substance, move the temperature and pressure, and see whether the sample is predicted to behave as a solid, liquid, gas, or supercritical fluid. The goal is to make phase boundaries feel spatial: crossing a line changes the stable state, while approaching the critical point changes what a phase boundary even means.The tool is built for students, teachers, science writers, and anyone searching for a clear explanation of phase diagrams. It emphasizes the features that matter most in introductory thermodynamics: the triple point where three phases coexist, the vapor-liquid curve, the solid-liquid boundary, and the critical endpoint where the liquid-gas distinction disappears.# How to read the pressure-temperature diagram
A phase diagram places temperature on one axis and pressure on the other. Each region shows the phase that is stable under those conditions. The lines between regions are coexistence curves: along those lines, two phases can remain in equilibrium rather than one phase completely replacing the other.| Diagram feature | Meaning | What to watch in the tool |
|---|---|---|
| Triple point | Solid, liquid, and gas coexist | The low-temperature junction where the boundaries meet. |
| Vapor-liquid curve | Boiling or condensation equilibrium | The curved line from the triple point to the critical point. |
| Solid-liquid boundary | Melting or freezing equilibrium | The steep line separating solid and liquid regions. |
| Critical point | End of the vapor-liquid boundary | The highlighted endpoint where latent heat fades. |
| Supercritical region | No sharp liquid-gas distinction | The high-temperature, high-pressure area beyond the critical point. |
# Why the critical point matters
Below the critical point, boiling is a phase transition: liquid and vapor can coexist, and energy can be absorbed as latent heat while temperature remains tied to the boundary condition. At the critical point, that boundary terminates. Above it, density changes continuously and the substance is described as a supercritical fluid rather than a normal liquid or gas.This matters in chemistry, planetary science, industrial extraction, refrigeration, and high-pressure physics. Carbon dioxide, for example, becomes supercritical at relatively accessible conditions compared with water, which is why supercritical CO2 appears in extraction and materials processing. Water requires much higher temperature and pressure, making its critical point important for power systems and geophysics.# What this visualizer simplifies
Real phase diagrams can include polymorphs, metastable states, nonideal mixtures, multiple solid phases, and experimentally fitted equations of state. This educational tool keeps the model intentionally compact. It anchors each substance to recognizable reference values and draws smooth teaching curves so the main ideas are easy to inspect without needing a thermodynamics table.- Use it for intuition: it helps explain why pressure cookers, dry ice, boiling, and supercritical fluids behave differently.
- Do not use it for engineering limits: simplified curves are not a substitute for certified property data.
- Focus on topology: the most important learning outcome is how phase regions connect and where boundaries end.