Examples¶
For: developers. Each example demonstrates live what the matching Developer Guide section explains — the guide is the narrative, these are the working code.
Live interactive demos. Each opens a standalone page rendered in the browser.
Run these on your own machine. Every example on this page ships in the downloadable examples package — unzip it, start the bundled server, and edit them locally. The library is included, so it works offline with nothing to install.
Some pages cover several related topics; those links point at the relevant section of the page.
Start here¶
- Showcase — the whole library on one page — four real lot scenarios with the summary panel, statistical findings and the Insights charts, over data you can swap for your own — start here if you are deciding whether wafermap fits your problem
Getting started¶
- Your first wafer map — minimal two-call example, no CSV · Guide: Your first wafer map
- Loading CSV data — parse and map real columnar data · Guide: Loading real data from a CSV
- Geometry inference — omit die size and let the library infer it · Guide: Adding die size and wafer geometry
- Partial data and centre anchoring — anchoring the wafer centre for partial coverage, and why sparse data doesn't need it · Guide: Adding die size and wafer geometry
- Warnings the library surfaces — the built-in ⚠ indicator, warning severity, and the
onWarningopt-out for hosts with their own notification UI · Guide: Adding die size and wafer geometry - Bins and yield — named hard bins, pass/fail colours, yield label · Guide: Working with bins
- Bin colours across a full program — a four-wafer lot with 15 hard bins and 32 soft bins — how every bin keeps its colour, two pass grades, and what happens when soft bins outnumber the palette · Guide: How bin colours are assigned
- Metadata / layout mode — generic categorical colouring from
die.metadata, coexists with test/bin data · Guide: Metadata / layout plot mode - Test values — parametric measurements, spec limits, colorbar · Guide: Working with test values
- Retests — multi-touch probe sequences and retest policy · Guide: Retests and enriching dies after build
Interaction and control¶
- Display control — rotation, flip, plot mode, colour scheme · Guide: Controlling the display
- Custom colour schemes — register your own bin/value palette with
registerColorScheme· Guide: Custom colour schemes - Theming — theme the chrome and canvas with
--wmap-*custom properties (light, dark, Nord, Solarized, brand green) · Guide: Controlling the display - Interaction API — hover, click, box-select, controller methods · Guide: Responding to user interaction
- Web Worker — off-main-thread build for large datasets · Guide: Processing large datasets with a Web Worker
Analysis and layout¶
- Insights chart suite — the built-in charts — yield by wafer, bin pareto, ring/quadrant yield, capability, box plots, histograms and test correlation — with no charting library to add · Guide: The Insights tab
- Statistical findings — ring, quadrant, cluster, edge-arc analysis on a single wafer · Guide: Adding statistical findings
- Summary panel — persistent metadata and stats sidebar docked beside the map · Guide: Summary panel
- Lot gallery — card grid of multiple wafers with shared controls and stacked modes · Guide: Building a lot gallery
- Lot-level findings — cross-wafer trend detection with
analyzeWaferLot· Guide: Lot-level statistical findings - Lot-stack spatial analysis — mean/median/stddev maps aggregated across a lot · Guide: Recipes
- Reticle overlays — photolithography field grid and reticle-position findings · Guide: Reticle overlays
- Multi-site parallel testing — site-based analysis across a multi-site prober card
- Real wafer data (WM-811K) — open dataset with 811 000 wafer records · Guide: Adding statistical findings
- Mixed patterns (MixedWM38) — classified failure pattern dataset · Pattern Detection
Compatibility and advanced¶
- wafermap vs Plotly.js — side-by-side render timings and feature comparison · Performance
Quick Start — live — the minimal inline-generated example linked from the Quick Start page