Home/Smart Production

Smart Production

Q4 2025Live demo

By Bayer Cropscience

Production planning at Bayer Cropscience lived in an Excel spreadsheet fed by SAP queries. I turned it into a visual production planner, an order table and an interactive Gantt, designed and built as a working prototype in code.

sSituation

Before: the planner as integration

Three Excel workbooks fed by SAP queries, kept in sync by the planner by hand. The preliminary plan had 120 rows, one column per week, quantities pasted from SAP: every demand change meant re-running the queries and rebuilding the sheet.

aAction · Decision 1

Status becomes data

Status was a cell color and the line was a block title. Now each order is a row with its line, SAP code, quantity and a status pill, and it opens its materials, checked or flagged: a missing material shows up before the order reaches the plant.

aAction · Decision 2

Ideal order, real stock

Changing active ingredient adds setup and cleaning; missing inputs block production. Orders follow active-ingredient familiarity, and what lacks stock is set apart, not included in the plan.

rResult

See the time, simulate first

The same orders on a timeline, line by line. Every drag, split or reorder happens on a draft, and nothing is written until the planner confirms. A day of recalculating became twenty minutes.

Open the live demo
Preliminary production plan in ExcelSAP codes and quantities, pasted from queriesIn red: quantities short of what the plan needs
Order table with one order expanded to its materialsWord + color, never color aloneShort material flagged before you read
SAP tab: orders without stock set apartRevisar en SAP: an action, not just an alertIngredient change marked: more setup and cleaning
Gantt view of the production planPosition = when, length = how long, color = statusEach line's orders together, with its progress
Open fullscreenBayer CropScienceI-20I-30I-50H-10
01 / 09Frames onlyOpen fullscreen
Before · how it started01Status painted by hand

Programación Planta lists every material per line, its status colored cell by cell.

Programación Planta lists every material per line, its status colored cell by cell.

A day of recalculating became twenty minutes. I designed and built it as a working prototype in code rather than a Figma deck, wired to the same material codes the spreadsheets used. Planners tested it on their own scenarios in the first week; the shortage flags and the review-before-commit view came from there, and neither was on the original list.

What I'd do differently: bring a materials expert into the first week. The materials logic was the part I iterated on most, and half of those iterations were things a planner already knew.

aAction · build · 10

Three tabs, three horizons

The blueprint shows one tab per horizon. This is what each one holds in the working prototype, and the small rules that keep the numbers on top honest.

Mes actual
The month in progress: planned quantity, executed quantity live with its last update, global compliance, and the ideal order as a table or a Gantt.
SAP
The next month: planned quantity, a Necesita atención card with what stays out of the plan and why, and a Recalcular button to pull the data again.
Corto plazo
A pivot of the next three months, with a Reafirmados filter (Sí / No) that only exists on this tab.
  • —Carry-over is labeled. In the current month, the planned total carries an Arrastre badge and a note with how many orders came from the previous month, so the total explains itself.
  • —No fake zeros. A month that hasn't run yet shows executed quantity as No disponible, not as 0, and the SAP tab drops the executed card entirely.
  • —The same filters everywhere. Planta, Etapa (Formulación, Empaque) and Línea (I-20 to I-50, several at once) sit above the ideal order on every tab; Mes actual and SAP add the table / Gantt switch.

aAction · build · 11

A status that starts from the dates

In Programación Planta, status was a cell someone painted. In the prototype each order gets a default status from its own dates, and the planner can still change it from the pill, which is a dropdown.

Programado
The start date hasn't arrived yet · 0%.
En proceso
Between start and end · progress follows elapsed time, kept between 5% and 95%, so a running order never looks untouched or finished.
Completo
Past its end date · 100%.
A definir
Orders in months that aren't confirmed yet, like every row in the SAP tab · 0%.
  • —Family is a second pill. Nine chemical families (Neonicotinoides, SDHI, Diamidas, Glifosatos, Auxínicos, HPPD, Piretroides, Estrobirulinas, Triazoles), each with its own color.
  • —The changeover note follows the family. In the demo, the red line *Cambio de ingrediente activo · Mayor tiempo de setup/limpieza* appears wherever the family changes between two consecutive orders, in the table and on mobile.

aAction · build · 12

What an order carries

An open order splits into three columns: formulation materials, packaging materials and lots, each with its quantity and unit (Kg, L, units). Every item has a check or a ⚠, and hovering explains it: *Disponible en almacén* or *Faltante · requiere solicitud*.

  • —The alert names the next step. A shortage doesn't just say *missing*; it says a request is needed.
  • —You don't open every order to find the short ones. The row shows a ⚠ next to the material, and its tooltip lists *Requiere atención* plus the items that are missing.
An order open: four formulation materials checked, one packaging item flagged (Tapa + sello inviolable), three lots. The ⚠ on the row repeats the flag without opening it.

aAction · build · 13

Why an order is out of the plan

The Necesita atención card lists each active ingredient left out of next month's plan, with its reason on the same line, and the total of orders affected underneath.

Sin stock
How many of its materials have no stock: *1 material sin stock*, *2 materiales sin stock*.
Sin línea confirmada
A second reason, separate from stock: the ingredient has no production line confirmed yet.
Nothing to review
The empty state is a check and *Sin órdenes afectadas*, so an empty card reads as good news, not as missing data.
  • —Refreshing can fail, and the UI says so. Recalcular spins while it pulls the data again; if the pull fails, a toast reads *No se pudieron obtener los datos actualizados. Intente nuevamente.* The public demo triggers that state on purpose when you click Recalcular twice in a row, so the error can be seen.
April in the SAP tab: four ingredients out of the plan, one material without stock each, 29 orders affected, and Recalcular next to the month.

aAction · build · 14

The Gantt, up close

The blueprint covers why the table became a timeline. These are the pieces that make the timeline usable day to day.

Line capacity
Each line's header shows executed over planned quantity, a bar and a percentage. The bar changes color at 70% and again at 90%.
Changeover bands
An orange band marks each active-ingredient change on the timeline; hovering it reads *Cambio de ingrediente activo*. The setup cost becomes visible space, not a note.
Weeks, then days
Two header rows: Semana 1, 2, 3… and the day numbers under them, with today highlighted and a vertical line through every row.
Moving an order
A bar can be dragged to another day or another line, and stretched to change its duration.
Exact edits
For precision, the end date opens a popover with +1, +2 and +3 days and a *Restaurar valor original* button; the Días column takes a number from 1 to 30.
  • —Every edit has a way back. Drag for the rough move, buttons for the exact one, and a reset on the end date that returns it to its original value.
Line I-20 in March: 47 of 197 Kg/L executed (24%), statuses with their progress, and the timeline beside it with orange changeover bands and today, the 5th, marked in red.

aAction · build · 15

Presentation mode

A read-only version of the plan, opened from the Modo Presentación button or the P key and closed with Esc. Statuses are locked, so nothing can be changed by accident while it is on screen.

Orden en curso
The active ingredient running now, its progress bar and when it ends.
Hoy
Today's date, large, between the two cards.
Próxima orden
The next ingredient and its start date.
Gantt
The same timeline for the selected plant, without editing.

aAction · build · 16

The same plan on a phone

On a narrow screen the table turns into a list: each order becomes a card of label and value, following the order of the desktop columns, with the status pill still editable and Materiales as the last row.

  • —The summary stacks. Planned, executed and the compliance ring go one under the other, above the filters.
  • —The changeover note survives. It sits between the cards where the ingredient changes, the same as between table rows.
Mobile: the March summary stacked, and the ideal order as cards, with the changeover note at the bottom.

rResult · scope

What the demo is, and what it isn't

I designed and built all of it alone, in code. The public link is a demo, so it is worth being precise about what it proves.

What it shows
Every behavior in this case: the three tabs, statuses, materials, reasons, the Gantt edits, presentation mode and the mobile layout, running as a React single-page app.
Sample data
Quantities, dates and order numbers in the demo are generated. The Excel captures are from June 2025 and the product shows March and April 2026, so structure maps between them; values don't.
What it doesn't show
Usage. The case has one result number, the recalculation time, and no published analytics on how planners use the tool.
Previous caseZeigo PowerSchneider Electric · 2025Next caseBigger PocketsBigger Pockets · Q2 2025

Exelobaiza | Design Engineer

ENES
███████╗██╗  ██╗███████╗██╗      ██████╗ ██████╗  █████╗ ██╗███████╗ █████╗
██╔════╝╚██╗██╔╝██╔════╝██║     ██╔═══██╗██╔══██╗██╔══██╗██║╚══███╔╝██╔══██╗
█████╗   ╚███╔╝ █████╗  ██║     ██║   ██║██████╔╝███████║██║  ███╔╝ ███████║
██╔══╝   ██╔██╗ ██╔══╝  ██║     ██║   ██║██╔══██╗██╔══██║██║ ███╔╝  ██╔══██║
███████╗██╔╝ ██╗███████╗███████╗╚██████╔╝██████╔╝██║  ██║██║███████╗██║  ██║
╚══════╝╚═╝  ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚═╝╚══════╝╚═╝  ╚═╝
# Smart Production ## Bayer Cropscience — Q4 2025 --- [Live demo](https://smart-production-demo.vercel.app/) Context: Production planning at Bayer Cropscience lived in an **Excel spreadsheet fed by SAP queries**: no visual way to see the production line, and every adjustment meant recalculating by hand. My role: I turned that workflow into a **visual production planner**: an interactive **Gantt chart** where planners can consult and modify the production line based on **required materials and current demand**, simulating changes before committing them. Impact: Planning moved from spreadsheets and SAP lookups into **one visual system**, so the ideal production schedule can be reviewed and adjusted in minutes instead of rebuilt by hand. Before · how it started: Three Excel workbooks fed by SAP queries, kept in sync by the planner by hand. - Status painted by hand: Programación Planta lists every material per line, its status colored cell by cell. A change on the floor meant someone repainting a cell. - Line block: Each production line is a block: I-20, I-30 → Línea. - Código: The SAP material code → Código SAP, same codes. - Material: Formula + brand, e.g. LUNA EXPERIENCE → Material. - Cantidad: Liters to produce, typed with the unit → Cantidad. - Comentarios: The status, painted by hand → Estado, as a pill. - Sheet tabs: Plan JUNIO SC, EC, WP: one tab per month and family → Mes + Familia. - The planner as integration: 120 rows, one column per week, quantities pasted from SAP queries. Every demand change meant re-running the queries and rebuilding the sheet. - A · group code: Groups materials, with a Total row → Ingrediente activo. - B · SAP code: One code per material → Código SAP. - C · material: Formula + pack size → Material de formulación. - I · in red: Quantities short of what the plan needs → ⚠ flags. - J–M · weeks: One column per week, by hand → the Gantt's time axis. - N–O · totals: Sums per row and group, redone by hand → Cantidad. - A single number: Resumen Plan reduced the month to 59% global compliance. You saw the result, never which order explained it. - Cantidad total: Everything planned for the month → Cantidad Planeada. - Programado: What is scheduled, typed in a cell → Estado Programado. - Producido: What the plant produced, copied in → Cantidad Ejecutada. - Pendiente: Planned minus produced → what the ring still lacks. - % cumplimiento: The month in one number → Cumplimiento Global. - By plant: Sólidos, Roundup, Líquidos, Suspensiones → Planta filter. - Seguimiento: Planned vs produced per plant → progress per line. - Pivot by product: Programmed vs produced per SKU → the order rows. Step 1 · from Excel to an order table: First, the same data in one structured table: orders, status, materials. - Status becomes data: Status was a cell color and the line was a block title. Each order is a row with its line, SAP code, quantity and a status pill. - Chunking · 1 row = 1 order: Each Excel row becomes one order you can open. - Not color alone · status: Word + color, so status never relies on color only. - Structure over format · line: The block title becomes a column you can filter. - Hierarchy · column order: Which order → how much → what → when → status. - Findability · filters: Planta, Etapa, Línea: from 120 rows to your line. - The number gets context: 59% sat alone, with nothing behind it. Planned, executed live and compliance sit together on top of the orders. - Information architecture · tabs: Mes actual, Corto plazo, SAP: one tab per horizon. - Hierarchy · planned KPI: The target first: what everything is measured against. - System status · live: En vivo + last update: you know how fresh it is. - At a glance · progress ring: The global goal in one shape, not 59% in a cell. - Recognition over recall · month: Pick a month instead of finding the right workbook. - Shortages in sight: Each order opens its formulation materials, packaging and lots, checked or flagged. A missing material shows up before the order reaches the plant. - Progressive disclosure · materials: Materials appear only when you open an order. - Pre-attentive cue · ⚠: Icon + color flag the short material before you read. - Ideal order, real stock: Changing active ingredient adds setup and cleaning; missing inputs block production. Orders follow active-ingredient familiarity, and what lacks stock is set apart, not included in the plan. - Prevention · no stock: No monthly order starts without 100% of its inputs. - Visibility · impact: Each ingredient without stock, and the orders it hits. - Next step · SAP: Revisar en SAP: an action, not just an alert. - Proximity · ingredient: Ingredient familiarity sets the order: main criterion. - Signifier · changeover: Ingredient change marked: more setup and cleaning. Step 2 · from the table to a Gantt: Then we added time, to plan further ahead and simulate before committing. - See the time: A date column doesn't show what runs when or what a delay pushes. The same orders on a timeline, line by line, for planning further ahead. - Multiple views · one model: Table to find an order, Gantt to see time. - Continuity · the table stays: Order, dates and status stay where you left them. - Mental model · time axis: Planners think in weeks and days; so does the axis. - Visual encoding · bars: Position = when, length = how long, color = status. - Proximity · grouped by line: Each line's orders together, with its progress. - Orientation · today: The day marker shows where the plan stands now. - Simulate first, plan second: Every drag, split or reorder happens on a draft. Nothing is written until the planner confirms; that is what made people trust it. - Safe exploration · drag = draft: Try a move without breaking the real plan. - User control · confirm: Changes become real only when you confirm. A day of recalculating became **twenty minutes**. I designed and built it as a working prototype in code rather than a Figma deck, wired to the same material codes the spreadsheets used. Planners tested it on their own scenarios in the first week; the shortage flags and the review-before-commit view came from there, and neither was on the original list. What I'd do differently: bring a materials expert into the first week. The materials logic was the part I iterated on most, and half of those iterations were things a planner already knew. Action · build · 10 — Three tabs, three horizons: The blueprint shows one tab per horizon. This is what each one holds in the working prototype, and the small rules that keep the numbers on top honest. - Mes actual: The month in progress: planned quantity, executed quantity live with its last update, global compliance, and the ideal order as a table or a Gantt. - SAP: The next month: planned quantity, a Necesita atención card with what stays out of the plan and why, and a Recalcular button to pull the data again. - Corto plazo: A pivot of the next three months, with a Reafirmados filter (Sí / No) that only exists on this tab. - **Carry-over is labeled.** In the current month, the planned total carries an **Arrastre** badge and a note with how many orders came from the previous month, so the total explains itself. - **No fake zeros.** A month that hasn't run yet shows executed quantity as **No disponible**, not as 0, and the SAP tab drops the executed card entirely. - **The same filters everywhere.** Planta, Etapa (Formulación, Empaque) and Línea (I-20 to I-50, several at once) sit above the ideal order on every tab; Mes actual and SAP add the table / Gantt switch. Action · build · 11 — A status that starts from the dates: In Programación Planta, status was a cell someone painted. In the prototype each order gets a **default status from its own dates**, and the planner can still change it from the pill, which is a dropdown. - Programado: The start date hasn't arrived yet · 0%. - En proceso: Between start and end · progress follows elapsed time, kept between 5% and 95%, so a running order never looks untouched or finished. - Completo: Past its end date · 100%. - A definir: Orders in months that aren't confirmed yet, like every row in the SAP tab · 0%. - **Family is a second pill.** Nine chemical families (Neonicotinoides, SDHI, Diamidas, Glifosatos, Auxínicos, HPPD, Piretroides, Estrobirulinas, Triazoles), each with its own color. - **The changeover note follows the family.** In the demo, the red line *Cambio de ingrediente activo · Mayor tiempo de setup/limpieza* appears wherever the family changes between two consecutive orders, in the table and on mobile. Action · build · 12 — What an order carries: An open order splits into three columns: **formulation materials**, **packaging materials** and **lots**, each with its quantity and unit (Kg, L, units). Every item has a check or a ⚠, and hovering explains it: *Disponible en almacén* or *Faltante · requiere solicitud*. - **The alert names the next step.** A shortage doesn't just say *missing*; it says a request is needed. - **You don't open every order to find the short ones.** The row shows a ⚠ next to the material, and its tooltip lists *Requiere atención* plus the items that are missing. ![An order open: four formulation materials checked, one packaging item flagged (Tapa + sello inviolable), three lots. The ⚠ on the row repeats the flag without opening it.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_92,y_440,w_1330,h_245/f_auto,q_auto,c_limit,w_1600/v1786445161/Bay1_mawwhr.png) Action · build · 13 — Why an order is out of the plan: The Necesita atención card lists each active ingredient left out of next month's plan, with **its reason** on the same line, and the total of **orders affected** underneath. - Sin stock: How many of its materials have no stock: *1 material sin stock*, *2 materiales sin stock*. - Sin línea confirmada: A second reason, separate from stock: the ingredient has no production line confirmed yet. - Nothing to review: The empty state is a check and *Sin órdenes afectadas*, so an empty card reads as good news, not as missing data. - **Refreshing can fail, and the UI says so.** Recalcular spins while it pulls the data again; if the pull fails, a toast reads *No se pudieron obtener los datos actualizados. Intente nuevamente.* The public demo triggers that state on purpose when you click Recalcular twice in a row, so the error can be seen. ![April in the SAP tab: four ingredients out of the plan, one material without stock each, 29 orders affected, and Recalcular next to the month.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_1500,y_110,w_1370,h_570/f_auto,q_auto,c_limit,w_1600/portfolio/bayer/bp-sap-tab.png) Action · build · 14 — The Gantt, up close: The blueprint covers why the table became a timeline. These are the pieces that make the timeline usable day to day. - Line capacity: Each line's header shows executed over planned quantity, a bar and a percentage. The bar changes color at 70% and again at 90%. - Changeover bands: An orange band marks each active-ingredient change on the timeline; hovering it reads *Cambio de ingrediente activo*. The setup cost becomes visible space, not a note. - Weeks, then days: Two header rows: Semana 1, 2, 3… and the day numbers under them, with today highlighted and a vertical line through every row. - Moving an order: A bar can be dragged to another day or another line, and stretched to change its duration. - Exact edits: For precision, the end date opens a popover with +1, +2 and +3 days and a *Restaurar valor original* button; the Días column takes a number from 1 to 30. - **Every edit has a way back.** Drag for the rough move, buttons for the exact one, and a reset on the end date that returns it to its original value. ![Line I-20 in March: 47 of 197 Kg/L executed (24%), statuses with their progress, and the timeline beside it with orange changeover bands and today, the 5th, marked in red.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_92,y_375,w_640,h_450/f_auto,q_auto,c_limit,w_1600/v1786445162/Bay3_d5xqyi.png) ![Line I-20 in March: 47 of 197 Kg/L executed (24%), statuses with their progress, and the timeline beside it with orange changeover bands and today, the 5th, marked in red.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_730,y_375,w_700,h_450/f_auto,q_auto,c_limit,w_1600/v1786445162/Bay3_d5xqyi.png) Action · build · 15 — Presentation mode: A read-only version of the plan, opened from the **Modo Presentación** button or the **P** key and closed with **Esc**. Statuses are locked, so nothing can be changed by accident while it is on screen. - Orden en curso: The active ingredient running now, its progress bar and when it ends. - Hoy: Today's date, large, between the two cards. - Próxima orden: The next ingredient and its start date. - Gantt: The same timeline for the selected plant, without editing. Action · build · 16 — The same plan on a phone: On a narrow screen the table turns into a list: **each order becomes a card** of label and value, following the order of the desktop columns, with the status pill still editable and Materiales as the last row. - **The summary stacks.** Planned, executed and the compliance ring go one under the other, above the filters. - **The changeover note survives.** It sits between the cards where the ingredient changes, the same as between table rows. ![Mobile: the March summary stacked, and the ideal order as cards, with the changeover note at the bottom.](https://res.cloudinary.com/dcy607q9x/image/upload/f_auto,q_auto,w_1600/v1786445161/Bay2_k6plh1.png) Result · scope — What the demo is, and what it isn't: I designed and built all of it alone, in code. The public link is a **demo**, so it is worth being precise about what it proves. - What it shows: Every behavior in this case: the three tabs, statuses, materials, reasons, the Gantt edits, presentation mode and the mobile layout, running as a React single-page app. - Sample data: Quantities, dates and order numbers in the demo are generated. The Excel captures are from June 2025 and the product shows March and April 2026, so structure maps between them; values don't. - What it doesn't show: Usage. The case has one result number, the recalculation time, and no published analytics on how planners use the tool. --- All case studies: [https://www.exelobaiza.dev/work](https://www.exelobaiza.dev/work) (markdown mirror: [work.md](https://www.exelobaiza.dev/work.md)) ## Contact - LinkedIn: https://www.linkedin.com/in/exequiel-lobaiza/ - GitHub: https://github.com/exelobaiza