Convex Hulls

Loading Na-Fe-P-O subset examples…

Loading Li-Co-Ni-O subset examples…

Ternary Chemical Systems

Ternary Chemical Systems

Quaternary Chemical Systems

  • Drag & drop: load your own JSON data onto the quaternary diagrams

Li-Co-Ni-O

Na-Fe-P-O

Binary Chemical Systems

Statistics Panel

Use bind:this to access the renderer, then derive renderer?.get_model() for an external statistics panel. The model contains all phases; the built-in info pane follows the plot’s visibility threshold.

  • Shared model: get_model() exposes the current numerical hull for ConvexHullStats model={model}; display thresholds and categories do not change the model
  • Headless computation: compute_hull_model(entries) builds the same model without mounting a diagram
  • Row highlighting: click a table row to highlight it (highlighted_entry_id + on_entry_click)
  • Clickable IDs: entry_href callback turns the ID column into links
  • Poly column: shows polymorph count per reduced formula
  • Polymorphs filter: dropdown to isolate entries sharing a composition
  • Subsystem coverage: grid of binary element pairs with entry counts
  • CSV/JSON export: download table data

Statistics Panel

Side-by-Side Layout

  • layout="side-by-side": stats and table visible simultaneously, no toggle needed

Side-by-Side Layout

Highlighted Entries

  • API: highlighted_entries + highlight_style (pulse/glow effect, color, size multiplier) on 2D, 3D and 4D

Highlighted Entries

Highlighted Entries

Highlighted Entries

Magnetic States & Custom Categories

  • Shape-coded orderings: entries with magnetic_ordering render as △ FM, ◆ FiM, ■ AFM, ● NM (built-in default entry_category)
  • Filter toggles: show/hide magnetic subsets via the controls pane (bindable hidden_categories)
  • Generic API: pass a custom EntryCategoryConfig to shape-code any classification (right plot: crystallinity; works equally for metal/semiconductor/insulator, defect types, ...)
  • Manual override: a per-entry marker field always takes precedence over category shapes

Synthetic orderings are assigned by entry-ID hash. Missing pure-element references are added with Eform = 0 eV/atom.

Magnetic States & Custom Categories

Temperature-Dependent Free Energies

  • Temperature slider: appears when entries include temperatures + free_energies arrays
  • Synthetic G(T) data: every composition has an ordered and a high-entropy polymorph, so hull membership shifts with temperature

Temperature-Dependent Free Energies

Temperature-Dependent Free Energies

Temperature-Dependent Free Energies

Gas Atmosphere Control

  • Chemical potential: gas-forming elements (O, N, H, C, F) use μ(T, P) = μ°(T) + kBT·ln(P/P₀) / natoms (per-atom convention, P in bar, P₀ = 1 bar)
  • Multi-gas support: O2, N2, H2, CO, CO2, H2O, F2

Gas Atmosphere Control

Gas Atmosphere Control

Standalone Stats for Quinary Systems

  • Standalone stats: use ConvexHullStats without rendering a hull
  • High-dimensional support: computed via process_hull_for_stats() for systems with 5+ elements

Quinary statistics