Here is all you need to build this app
.png)
Act as a senior front-end engineer AND a sustainability SME (GHG Protocol Scope 3). Deliver a COMPLETE, SINGLE-FILE app (one .html file) called Scope 3 Explorer that I can paste directly into Replit and run. It must be fully self-contained: vanilla HTML/CSS/JS only (no frameworks, no external CDNs, no images). Dark theme, responsive, accessible, fast.
App goal
A workshop tool that shows all 15 Scope 3 categories as clickable cards (with small icons + short description). Clicking a card opens a side panel with:
Data (USE EXACTLY THIS ARRAY)
Embed this array in the JS and render from it. Do not alter field names.
const SCOPE3 = [ {"id":1,"icon":"π¦","title":"Cat 1 β Purchased Goods & Services","description":"Cradle-to-gate emissions of purchased goods/services.","method":"Average-data (mass/units Γ cradle-to-gate EF). Fallback: spend-based (currency Γ EEIO EF).","activityData":["Material quantity (kg/units) from SAP/ERP (e.g., MM/PO lines)","Purchase lines by material/service"],"emissionFactors":["LCI/industry databases; cradle-to-gate factors"],"owners":["Procurement/Sourcing","Category Managers","ESG/LCA"]}, {"id":2,"icon":"ποΈ","title":"Cat 2 β Capital Goods","description":"Cradle-to-gate emissions of purchased capex items.","method":"Average-data by asset type; fallback: spend-based.","activityData":["Asset register (CapEx lines)","Specs/weights if available"],"emissionFactors":["LCI factors for typical equipment/buildings"],"owners":["Engineering/CapEx PMO","Procurement","Finance (Fixed Assets)"]}, {"id":3,"icon":"π","title":"Cat 3 β Fuel & Energy-Related (not in S1/S2)","description":"Upstream (WTT) of fuels/electricity + T&D losses (exclude combustion already in S1/S2).","method":"Apply upstream/WTT factors to S1 fuels and S2 electricity; include T&D losses.","activityData":["Annual fuel & electricity use (from S1/S2 files)"],"emissionFactors":["Upstream/WTT fuel factors","Upstream electricity & T&D loss factors"],"owners":["Facilities/Energy","Finance (utilities AP)"]}, {"id":4,"icon":"π","title":"Cat 4 β Upstream Transport & Distribution","description":"Third-party inbound logistics & inter-facility T&D.","method":"Average-data (ton-km Γ mode EF); fallback: spend-based by lane.","activityData":["Weights, distances, modes from 3PL/transport logs"],"emissionFactors":["Mode-specific freight factors"],"owners":["Logistics/Supply Chain","3PLs"]}, {"id":5,"icon":"ποΈ","title":"Cat 5 β Waste in Operations","description":"Third-party treatment/disposal of operational waste.","method":"Average-data (mass by waste type Γ treatment EF).","activityData":["Waste tickets/invoices by stream & mass (EWC codes if EU)"],"emissionFactors":["Landfill/incineration/recycling/wastewater EFs"],"owners":["EHS/Facilities","Waste vendors"]}, {"id":6,"icon":"βοΈ","title":"Cat 6 β Business Travel","description":"Third-party travel for employees.","method":"Average-data (passenger-km Γ mode EF). If gaps: spend-based or short survey.","activityData":["TMC exports (e.g., Concur/Amadeus): air/rail/car, hotel nights β distances"],"emissionFactors":["Passenger-km factors by mode (air/rail/road/hotel)"],"owners":["Travel/HR","Finance (T&E)"]}, {"id":7,"icon":"π","title":"Cat 7 β Employee Commuting","description":"Homeβwork travel; telework optional.","method":"Short employee survey β mode share Γ distance Γ days β average-data.","activityData":["Headcount/site","Survey: mode, distance, days/year"],"emissionFactors":["Mode factors (car, bus, rail, bike, walk)"],"owners":["HR","Site Admin"]}, {"id":8,"icon":"π’","title":"Cat 8 β Upstream Leased Assets","description":"Operation of assets you lease (not in S1/S2).","method":"Average-data using floor area or metered energy Γ EFs.","activityData":["Lease list","Floor area","Utility bills if any"],"emissionFactors":["Grid/fuel factors"],"owners":["Real Estate","Facilities"]}, {"id":9,"icon":"π¦β‘οΈ","title":"Cat 9 β Downstream Transport & Distribution","description":"Third-party outbound logistics/retail not owned/controlled.","method":"Average-data (ton-km Γ mode EF); fallback: spend-based.","activityData":["Shipment weights/lanes (customers/distributors)","Retail kWh if available"],"emissionFactors":["Freight mode factors","Retail energy factors"],"owners":["Sales Ops/Logistics","Distributors/Retail"]}, {"id":10,"icon":"π οΈ","title":"Cat 10 β Processing of Sold Products","description":"Processing by downstream manufacturers.","method":"Average-data (per-unit processing energy Γ EF).","activityData":["Units sold by product","Typical processing steps"],"emissionFactors":["Industry/LCA processing profiles & factors"],"owners":["Product/Technical","ESG/LCA"]}, {"id":11,"ico...
Scope 3 Dashboard UI Design to match my brand identity. Apply my brand color system, typography, and layout rules consistently across the interface.
π Brand Identity Rules to Apply Colors (Hex Codes): Primary Brand Colors: Electric Purple β #6C63FF (hero, titles, active selections, highlights) Bright Sustainability Green β #00A86B (action states, CTA highlights, sustainability categories) Secondary Colors: Lime Highlight β #C7F464 (tags, hover states, emphasis markers) Off-White β #FAFAFA (backgrounds for search bar or neutral panels) Neutrals: Charcoal Gray β #333333 (main body text, neutral card background) Light Gray β #E5E5E5 (dividers, inactive borders, subtle backgrounds)
Typography: Headings & Titles: Poppins Bold (all caps for section headers) Body Text: Inter Regular (clean, neutral readability) Layout & Component Rules: Main Title (βScope 3 Onboarding Dashboardβ):
Poppins Bold, Purple (#6C63FF) Optional Green underline/accent for separation
Search Bar: Background: Off-White (#FAFAFA) Text: Charcoal Gray (#333333) Focus/Active outline: Purple (#6C63FF) Category Cards (default state): Background: Charcoal Gray (#333333) Text: Inter Regular, White (#FFFFFF) Border: Light Gray (#E5E5E5) Category Cards (hover state): Subtle Lime (#C7F464) glow or underline Cursor hover effect β Green (#00A86B) border highlight Category Cards (active/selected): Purple (#6C63FF) border highlight Slight background tint toward Dark Purple Bolded heading text Icons: Use flat/line icon style (no random multicolor). Green (#00A86B) for sustainability categories (Purchased Goods, Waste, End-of-Life, etc.) Purple (#6C63FF) for data/finance/AI-related categories (Investments, Capital Goods, etc.) Charcoal (#333333) for neutral/supportive categories. Optional Lime accent dots (#C7F464) for emphasis or alerts. Footer/Dividers: Light Gray (#E5E5E5) lines, subtle to not overpower.
πΉ Output Expectation A modern dashboard interface that: Looks clean and minimal. Feels consistent with my brand assets (one-pagers, carousels, newsletter). Uses Purple for recognition, Green for action/anchors, Lime for emphasis, Neutrals for readability.
[You can simply replace those colors, fonts, design, etc. with what you want for your dashboard]
| Category | Method | Activity Data | Emission Factors | Internal Owners |
|---|---|---|---|---|
| Cat 1 β Purchased Goods & Services | Average-data (mass/units Γ cradle-to-gate EF). Fallback: spend-based (currency Γ EEIO EF). | Material quantity (kg/units) from SAP/ERP (e.g., MM/PO lines)Purchase lines by material/service | LCI/industry databases; cradle-to-gate factors | Procurement/Sourcing |
| Category Managers | ||||
| ESG/LCA | ||||
| Cat 2 β Capital Goods | Average-data by asset type; fallback: spend-based. | Asset register (CapEx lines)Specs/weights if available | LCI factors for typical equipment/buildings | Engineering/CapEx PMO |
| Procurement | ||||
| Finance (Fixed Assets) | ||||
| Cat 3 β Fuel & Energy-Related (not in S1/S2) | Apply upstream/WTT factors to S1 fuels and S2 electricity; include T&D losses. | Annual fuel & electricity use (from S1/S2 files) | Upstream/WTT fuel factorsUpstream electricity & T&D loss factors | Facilities/Energy |
| Finance (utilities AP) | ||||
| Cat 4 β Upstream Transport & Distribution | Average-data (ton-km Γ mode EF); fallback: spend-based by lane. | Weights, distances, modes from 3PL/transport logs | Mode-specific freight factors | Logistics/Supply Chain |
| Cat 5 β Waste in Operations | Average-data (mass by waste type Γ treatment EF). | Waste tickets/invoices by stream & mass (EWC codes if EU) | Landfill/incineration/recycling/wastewater EFs | EHS/Facilities |
| Waste vendors | ||||
| Cat 6 β Business Travel | Average-data (passenger-km Γ mode EF). If gaps: spend-based or short survey. | TMC exports (e.g., Concur/Amadeus): air/rail/car, hotel nights β distances | Passenger-km factors by mode (air/rail/road/hotel) | Travel/HR |
| Finance (T&E) | ||||
| Cat 7 β Employee Commuting | Short employee survey β mode share Γ distance Γ days β average-data. | Headcount/siteSurvey: mode, distance, days/year | Mode factors (car, bus, rail, bike, walk) | HR |
| Site Admin | ||||
| Cat 8 β Upstream Leased Assets | Average-data using floor area or metered energy Γ EFs. | Lease listFloor areaUtility bills if any | Grid/fuel factors | Real Estate |
| Facilities | ||||
| Cat 9 β Downstream Transport & Distribution | Average-data (ton-km Γ mode EF); fallback: spend-based. | Shipment weights/lanes (customers/distributors)Retail kWh if available | Freight mode factorsRetail energy factors | Sales Ops/Logistics |
| Distributors/Retail | ||||
| Cat 10 β Processing of Sold Products | Average-data (per-unit processing energy Γ EF). | Units sold by productTypical processing steps | Industry/LCA processing profiles & factors | Product/Technical |
| ESG/LCA | ||||
| Cat 11 β Use of Sold Products | Average-data (use profile Γ grid/fuel EF Γ lifetime). | Units soldDuty cyclesLifetime assumptions | Electricity/fuel factors | Product/Engineering |
| Customer Success | ||||
| Cat 12 β End-of-Life of Sold Products | Average-data (mass Γ material mix Γ disposal shares Γ EF). | BOM/material mixCountry disposal shares | Treatment factors (landfill/recycling/etc.) | Product Stewardship/EHS |
| Packaging | ||||
| Cat 13 β Downstream Leased Assets | Average-data using area/metered energy. | Lease portfolioAreaUtilities (if any) | Grid/fuel factors | Real Estate/Leasing |
| Cat 14 β Franchises | Average-data (kWh/fuel per site Γ EF Γ sites). | Outlet countsTypical energy intensity/site | Grid/fuel factors | Franchise Operations |
| Cat 15 β Investments | Average-/spend-based by sector; use financed-emissions guidance when available. | Holdings/AUMInvestee sector/revenue/disclosures | EEIO/LCA sector factors; investee reports | Finance/Treasury |
| ESG |
SustainaTrend - A weekly publication for sustainability professionals who are actually looking for real use cases to apply AI to advance their career