Implement Detail
The comprehensive guide above outlines the key design and implementation considerations for each of the 4 most common FDC/SVID charting patterns. Here are the critical takeaways:
Key Design Principles:
Visual Clarity: Each chart type serves a specific analytical purpose with optimized visual encoding
Real-time Performance: Efficient data handling for continuous manufacturing monitoring
Statistical Rigor: Built-in SPC rules and statistical validation
Scalability: Designed to handle high-volume semiconductor manufacturing data
Implementation Highlights:
Technical Architecture
Factory Pattern: Modular chart creation for different visualization types
Event-driven Updates: Real-time data streaming with optimized rendering
Memory Management: Efficient cleanup to prevent memory leaks in long-running applications
Data Integration
MQTT/WebSocket: Live data feeds from manufacturing equipment
Schema Validation: Ensures data integrity from SVID sensors
Caching Layer: High-performance data access for frequently queried parameters
Advanced Features
Dual Y-axis: For multi-parameter comparison in step charts
SPC Rule Engine: Automated detection of Western Electric Rules violations
Drill-down Capabilities: Interactive exploration from summary to detailed views
Export Functions: PDF/CSV generation for compliance and reporting
These patterns are specifically tailored for semiconductor manufacturing environments where precision, real-time monitoring, and statistical process control are critical for maintaining product quality and yield optimization.
FDC/SVID Chart Design & Implementation Guide
1. Horizontal Bar Chart - Mean vs Recipe Types
Design Considerations
Visual Hierarchy: Recipes should be ordered by performance (highest to lowest mean values)
Color Coding: Use consistent color schemes across recipe families
Bar Width: Uniform width with adequate spacing for readability
Value Labels: Display actual mean values at bar ends for precision
Implementation Details
javascript// Data Structure
const recipeData = {
labels: ['Recipe_A101', 'Recipe_B203', 'Recipe_C305'],
datasets: [{
label: 'Temperature Mean (°C)',
data: [847.2, 923.1, 756.8],
backgroundColor: ['#FF6384', '#36A2EB', '#FFCE56']
}]
};
// Key Configuration
options: {
indexAxis: 'y', // Horizontal orientation
responsive: true,
plugins: {
tooltip: {
callbacks: {
label: function(context) {
return `${context.dataset.label}: ${context.parsed.x.toFixed(2)}`;
}
}
}
},
scales: {
x: {
title: { display: true, text: 'Mean Value' },
beginAtZero: false,
grid: { display: true }
},
y: {
title: { display: true, text: 'Recipe ID' }
}
}
}Critical Features
Sorting Algorithm: Implement dynamic sorting by mean values
Threshold Lines: Add vertical lines for spec limits
Drill-down Capability: Click-to-expand for detailed recipe parameters
Real-time Updates: Automatic refresh when new batches complete
2. Scatter Plot - Mean vs Tool/Chamber
Design Considerations
Point Size: Vary size based on sample count or confidence level
Color Mapping: Different colors for each tool/chamber for quick identification
Clustering: Group similar tools visually through color families
Outlier Highlighting: Special markers for out-of-spec tools
Implementation Details
javascript// Data Structure with Multi-dimensional Points
const toolData = {
datasets: [{
label: 'Chamber_1',
data: [
{x: 85.2, y: 1, r: 8}, // r = point radius
{x: 87.1, y: 1, r: 12}, // larger = more samples
{x: 84.9, y: 1, r: 6}
],
backgroundColor: '#FF6384',
pointRadius: function(context) {
return context.parsed.r;
}
}]
};
// Advanced Configuration
options: {
scales: {
x: {
title: { display: true, text: 'Mean Performance (%)' },
type: 'linear',
position: 'bottom'
},
y: {
title: { display: true, text: 'Tool/Chamber ID' },
type: 'linear',
ticks: {
callback: function(value) {
return `Tool_${Math.round(value)}`;
},
stepSize: 1
}
}
},
plugins: {
tooltip: {
callbacks: {
title: function(context) {
return `Tool ${context[0].parsed.y}`;
},
label: function(context) {
return [
`Mean: ${context.parsed.x.toFixed(2)}%`,
`Samples: ${context.parsed.r * 10}`,
`Status: ${context.parsed.x > 90 ? 'Good' : 'Check Required'}`
];
}
}
}
}
}Critical Features
Dynamic Y-axis: Auto-scale based on available tools
Alarm Zones: Color-coded background regions for performance bands
Tool Status Integration: Real-time maintenance status overlay
Correlation Analysis: Trend lines showing tool degradation over time
3. Multi-line Chart - Mean vs Process Step Number
Design Considerations
Line Differentiation: Distinct colors and patterns for each parameter
Step Granularity: Balance between detail and readability
Vertical Markers: Highlight critical process steps
Synchronized Scaling: Normalize different parameter units for comparison
Implementation Details
javascript// Multi-parameter Data Structure
const stepData = {
labels: Array.from({length: 45}, (_, i) => `Step_${i + 1}`),
datasets: [{
label: 'Critical Dimension (nm)',
data: [45.2, 45.1, 45.3, /* ... */],
borderColor: '#FF6384',
backgroundColor: 'rgba(255, 99, 132, 0.1)',
tension: 0.4,
yAxisID: 'y1'
}, {
label: 'Layer Thickness (Å)',
data: [1250, 1248, 1252, /* ... */],
borderColor: '#36A2EB',
backgroundColor: 'rgba(54, 162, 235, 0.1)',
tension: 0.4,
yAxisID: 'y2'
}]
};
// Dual Y-axis Configuration
options: {
scales: {
x: {
title: { display: true, text: 'Process Step Number' }
},
y1: {
type: 'linear',
display: true,
position: 'left',
title: { display: true, text: 'Critical Dimension (nm)' }
},
y2: {
type: 'linear',
display: true,
position: 'right',
title: { display: true, text: 'Layer Thickness (Å)' },
grid: { drawOnChartArea: false }
}
},
plugins: {
annotation: {
annotations: {
criticalStep: {
type: 'line',
xMin: 15,
xMax: 15,
borderColor: 'red',
borderWidth: 2,
label: {
content: 'Critical Step',
enabled: true
}
}
}
}
}
}Critical Features
Step Synchronization: Align data collection points across all parameters
Process Recipe Integration: Overlay recipe changes on timeline
Bottleneck Detection: Highlight steps with highest variation
Predictive Modeling: Forward-looking trend analysis
4. Statistical Process Control (SPC) Chart
Design Considerations
Control Limits: Clear UCL/LCL boundaries with warning zones
Point Classification: Different markers for normal, warning, and alarm conditions
Time-based X-axis: Real-time or batch-based sampling
Statistical Annotations: Mean, standard deviation, Cpk values
Implementation Details
javascript// SPC Data with Control Logic
const spcData = {
labels: Array.from({length: 100}, (_, i) => new Date(Date.now() - (100-i) * 60000)),
datasets: [{
label: 'Process Parameter',
data: generateSPCData(),
borderColor: '#4BC0C0',
backgroundColor: 'rgba(75, 192, 192, 0.1)',
pointBackgroundColor: function(context) {
const value = context.parsed.y;
const ucl = 102, lcl = 98, uwl = 101, lwl = 99;
if (value > ucl || value < lcl) return '#FF6384'; // Alarm
if (value > uwl || value < lwl) return '#FFCE56'; // Warning
return '#4BC0C0'; // Normal
},
pointRadius: function(context) {
const value = context.parsed.y;
return (value > 102 || value < 98) ? 6 : 4;
}
}, {
label: 'UCL',
data: Array(100).fill(102),
borderColor: '#FF6384',
borderDash: [5, 5],
pointRadius: 0,
fill: false
}, {
label: 'LCL',
data: Array(100).fill(98),
borderColor: '#FF6384',
borderDash: [5, 5],
pointRadius: 0,
fill: false
}]
};
// SPC-specific Configuration
options: {
scales: {
x: {
type: 'time',
time: {
unit: 'minute',
displayFormats: {
minute: 'HH:mm'
}
},
title: { display: true, text: 'Time' }
},
y: {
title: { display: true, text: 'Parameter Value' },
min: 95,
max: 105,
ticks: {
callback: function(value) {
if (value === 102) return 'UCL';
if (value === 98) return 'LCL';
if (value === 100) return 'Target';
return value;
}
}
}
},
plugins: {
tooltip: {
callbacks: {
afterBody: function(context) {
const value = context[0].parsed.y;
const violations = checkSPCRules(value, context[0].dataIndex);
return violations.length > 0 ? `Violations: ${violations.join(', ')}` : '';
}
}
}
}
}
// SPC Rules Implementation
function checkSPCRules(value, index) {
const violations = [];
const ucl = 102, lcl = 98, target = 100;
// Rule 1: Point beyond control limits
if (value > ucl || value < lcl) {
violations.push('Beyond Control Limits');
}
// Rule 2: 9 points in a row on same side of centerline
// Rule 3: 6 points in a row steadily increasing/decreasing
// Rule 4: 14 points in a row alternating up/down
// ... implement additional Western Electric Rules
return violations;
}Critical Features
Real-time Streaming: Live data updates with efficient rendering
Rule-based Alerts: Automated detection of SPC violations
Historical Analysis: Zoom and pan for trend analysis
Export Capabilities: PDF/CSV export for compliance reporting
Universal Implementation Best Practices
Performance Optimization
Data Virtualization: Load only visible data points for large datasets
Debounced Updates: Batch real-time updates to prevent UI lag
Canvas vs SVG: Use Canvas for high-frequency updates, SVG for static precision
Memory Management: Clean up chart instances and event listeners
Accessibility
Color Blind Support: Use patterns in addition to colors
Screen Reader: Provide data tables as alternatives
Keyboard Navigation: Enable chart interaction via keyboard
High Contrast: Support for high contrast display modes
Integration Architecture
javascript// Factory Pattern for Chart Creation
class FDCChartFactory {
static createChart(type, container, data, options) {
switch(type) {
case 'recipe': return new RecipeChart(container, data, options);
case 'tool': return new ToolChart(container, data, options);
case 'step': return new StepChart(container, data, options);
case 'spc': return new SPCChart(container, data, options);
default: throw new Error(`Unknown chart type: ${type}`);
}
}
}
// Base Chart Class
class BaseChart {
constructor(container, data, options) {
this.container = container;
this.data = data;
this.options = this.mergeOptions(options);
this.chart = null;
this.init();
}
init() {
this.setupEventListeners();
this.render();
}
mergeOptions(userOptions) {
return {
...this.defaultOptions,
...userOptions,
responsive: true,
maintainAspectRatio: false
};
}
update(newData) {
this.data = newData;
this.chart.data = newData;
this.chart.update('none'); // No animation for real-time
}
destroy() {
if (this.chart) {
this.chart.destroy();
this.chart = null;
}
}
}Data Pipeline Integration
MQTT/WebSocket: Real-time data streaming from manufacturing equipment
Data Validation: Schema validation for incoming SVID parameters
Caching Strategy: Redis/MemoryStore for frequently accessed data
Batch Processing: Efficient handling of high-volume manufacturing data