Case study
Turning waste audits into clearer recycling decisions
For a waste-management client in Australia, we built a custom HTML dashboard connected directly to live Supabase data. It brings bin audits, material composition, disposal rules and photographic evidence into one report, so the team can see where recycling opportunities are being lost and decide which sites and materials need attention.
Explore the dashboard features- Industry
- Waste management and recycling
- Client
- Australian organisation; identity withheld
- Built with
- HTML, JavaScript, Supabase, ECharts and Leaflet
- Delivery
- Browser dashboard with optional 60-second refresh
Where should the team look next?
Material pathways by site
- Contamination
- Lost recycling
- Suboptimal stream
- Best available option
All sites · Weight view · 6 fictional audits
Project at a glance
The challenge
A waste total cannot explain which materials are in the wrong bins, where the problem is concentrated or what evidence supports the finding. The team needed to move from audit records to a clear list of issues to investigate.
What we built
A connected HTML report with shared filters, recycling indicators, material pathways, maps, area-to-material flows and individual audit details, including observations and photos.
The result
A consistent route from an overview to the site, material and supporting evidence, helping the team prioritise follow-up reviews and discuss specific disposal issues.
The challenge: knowing what to change, and where
For this project, the useful question was not simply “How much waste did we audit?” It was “Which disposal issues should we investigate first?”
That requires context. The same material can be acceptable in one stream, better suited to another, or treated as contamination under the client's disposal rules. A portfolio average can also hide one location with a very different waste profile.
What is in the wrong bin?
Separate contamination from recyclable material lost in general waste. Each calls for a different response.
Where is it happening?
Compare sites and areas without losing the project, waste-stream and audit context.
What supports the finding?
Check the material breakdown, bin details, observations and photographs behind a summary.
The solution in plain English
We developed a browser-based dashboard that queries the client's Supabase data directly. The report combines audit records with material classifications and density assumptions, then presents the results through one set of filters.
- 01
Bring the records together
Load audits, their material results and image references, alongside the material catalogue used for categories, density and disposal destinations.
- 02
Make the issue visible
Calculate volume and estimated weight, apply the reporting rules, and show which materials are contaminated, lost to general waste or routed to a less suitable stream.
- 03
Let the team investigate
Filter by project, site or area, stream, auditor and individual audit. Move from an overview to a map, material flow or supporting audit record, and export the filtered view as CSV.
An overview you can investigate
The report connects the big picture to the material, the location and the audit behind it. These illustrated views show how its features help an operations team narrow a question and decide what to check next.
Select a segment or legend row to explore a pathway.
Material composition
Share of All streams
Preferred destination streams
For all streamsAll streams · 520 kg estimated · 10 materials. Select a donut segment or a legend row to inspect a pathway.
Connect the bin, the material and its preferred route
- Compare each stream on its own. General waste can reveal lost recycling; mixed recycling can expose contamination or a less suitable route.
- Investigate a specific pathway. Select a donut segment to see its materials, their estimated amounts and the preferred stream for each one.
- Make the next discussion practical. Destination summaries help the team assess which collection routes need a closer review at the site.
Area → material composition
Swipe across the flow diagram to read the material labels.
3 fictional sites · 6 audits · 520 kg estimated. Select a map marker to trace a site's materials.
Find the location behind the issue
Site comparisons reveal differences that a portfolio average can hide. The map provides the geographic context, and the Sankey shows how each area's waste is distributed across material groups.
- Navigate through the data. Select an area on the delivered map or an area node to narrow the dashboard.
- Connect place and material. Trace which groups contribute to the selected area's profile.
- Plan a focused review. Identify a location and material to discuss with the site team.
Sample audits
Choose a record to inspect
Site A / General waste
- Reference
- DEMO-A02
- Estimated weight
- 100 kg
- Bin / fullness
- 660 L / 80%
- Lost recycling
- 30 kg
Paper and packaging in general waste are worth reviewing against the site's available collection routes.
Illustrated evidence tiles · no client photographs
Showing fictional audit DEMO-A02 from Site A.
Keep the evidence close to the result
A summary is easier to discuss when the reviewer can check the record behind it. The audit detail brings together the bin, material results, observations and available images.
- Check the assumptions. Inspect bin capacity and fullness alongside estimated weight.
- Review in context. Compare material results and observations with the audit photographs.
- Support a useful conversation. Discuss a specific audit rather than relying only on an aggregate percentage.
Details that make it useful day to day
The dashboard combines the controls a team needs while moving between a portfolio review and an individual audit.
- 01Shared filters
- Project, site or area, stream, auditor and audit selections keep the views focused on the same reporting scope. Clear filters restores the overview.
- 02Weight and volume
- Compare estimated mass or occupied bin space. Both views use the same selected records, helping the team look at the issue from two perspectives.
- 03Refresh visibility
- Manual refresh, optional 60-second auto-refresh, connection status and a sync timestamp make the report's freshness visible.
- 04Incorrect-disposal drill-down
- Compare general waste and mixed recycling, then select a bar in the delivered report to inspect the materials behind incorrect disposal.
- 05Filtered CSV export
- Take the selected material-level records into a follow-up analysis, with site, stream, estimated weight, volume and classification context.
- 06Explicit unknowns
- Unmatched material-and-bin combinations remain unclassified. Weight estimates depend on a usable catalogue density, making data gaps important to review.
All screens are public illustrations made for this case study. Sites, audit records, values, geography and evidence images are fictional; no database connection is included.
Three decisions the report supports
The dashboard is organised around the questions a waste-management team needs to answer before recommending an operational change.
Which recycling bins need a closer look?
Filter to mixed recycling, compare incorrect-disposal indicators across locations, then inspect the materials contributing to the issue.
Possible action to assessReview signage, staff guidance or bin placement after checking the audit evidence.
What could leave general waste?
Inspect recyclable materials found in general waste and compare the preferred routes shown by the material rules.
Possible action to assessCheck whether an appropriate collection stream is available and practical at the site.
Where should a follow-up start?
Use site comparisons, map markers and an area-to-material Sankey diagram to see where a problem is concentrated.
Possible action to assessSelect a site and material for a focused follow-up audit rather than treating every location alike.
How the data reaches the dashboard
Supabase provides the source records. JavaScript brings the related data together and prepares the calculations. ECharts renders the charts and material flows, while Leaflet provides the geographic view.
Supabase
- Bin audit records
- Material results and observations
- Audit photo references
- Material catalogue and density
HTML + JavaScript
- Match materials to the catalogue
- Calculate volume and weight estimates
- Apply disposal classifications
- Apply the selected filters
Interactive report
- KPIs and material pathways
- Site comparisons, map and Sankey
- Searchable audit table and details
- Filtered CSV export
Connected, with visible refresh controls
The dashboard loads current records on opening. Users can refresh manually or enable a 60-second polling cycle. Connection status and the last successful sync time help the team judge how current the view is.
This is a periodic database refresh; the report does not rely on a push-based real-time subscription.
Related data, one investigation
An audit provides the bin, location, fullness and date. Its material results provide composition and observations, and its image references provide evidence. The catalogue adds category, density and destination rules.
The report links these layers so a high-level finding can be inspected at the individual audit level.
Every finding has a record behind it
The source database links each audit to its analysis and evidence. The dashboard uses those relationships to keep a bin's location, material results and photos together, then matches materials to the catalogue for reporting rules and weight estimates.
Swipe across the diagram to inspect the relationships.
One audit provides the context
The audit record holds the location, bin type, capacity, fullness and date. Related results and images can be traced back to that same record.
Results stay linked to evidence
AI results contain the available confidence, observations and summary. Individual material records hold composition and evidence fields, while photographs remain linked to their audit.
The catalogue supports consistent calculations
Matching a material name supplies its category, density and configured destination streams. The separate material-and-bin matrix provides the pathway classification.
Supporting application tables: the supplied schema also includes user profiles linked to authentication, versioned prompt configuration and stored report references. These provide context about the wider application; the dashboard described here reads audits, analysis results, materials, image references and the material catalogue.
Four pathways, four different conversations
A single “correct or incorrect” label can hide useful detail. The Material Pathways view compares each material with the bin in which it was found, using a defined material-and-bin matrix.
Contamination
The material does not belong in the bin under the configured rules. Investigate what is entering that stream and why.
Lost recycling
Recyclable material is in general waste. Check the available recycling route and the circumstances at that location.
Suboptimal stream
The material is in a less suitable stream than the preferred option. Review whether routing it differently is practical.
Best available option
The bin matches the preferred route in the matrix. This can include general waste for materials with no suitable recycling route.
Users can select a pathway in the donut chart and inspect its material breakdown. The report also shows preferred destination streams, making the issue easier to discuss in terms of specific materials and collection options.
Unknown material-and-bin combinations are left unclassified for review. They are not silently counted as correct disposal.
A weight estimate the team can explain
The dashboard does not treat a visual bin audit as a measured weight. It starts with bin capacity and fullness, allocates volume to each material, then uses the catalogue density to estimate mass.
From bin volume to one material's estimated weight
- Bin capacity240 L
- × Fullness50%
- × Material share25%
- = Material volume30 L
30 L ÷ 1,000 × 40 kg/m³ = 1.2 kg estimated
The calculation: bin capacity in litres × fullness fraction × material fraction × density in kg/m³ ÷ 1,000.
Material volume can be available even when a matching density is missing. Estimated weight depends on a catalogue match and a usable density. Fuller bins, visual composition estimates and density assumptions all affect the result.
These estimates support comparison and investigation. They should not be presented as weighbridge measurements or independently verified environmental outcomes.
From a chart to the audit evidence
When a result needs explaining, the team can move beyond the summary. The audit table is searchable by site, location and auditor. Opening a row reveals the bin details, material composition, observations and available photographs.
- Find the locationSelect an area from the map or an area node in the Sankey diagram to filter the report.
- Identify the materialInspect the material flow and pathway breakdown to understand what contributes to the issue.
- Review the recordOpen the relevant audit and compare the calculated result with observations and photos.
- Choose a follow-upDiscuss the finding with the site team, identify what to check and use a later audit to assess any change.
Site A / General waste
The example contains recyclable material that merits a closer look.
- Audit reference
- DEMO-A02
- Lost recycling
- 30 kg estimated
- Reporting context
- General waste stream
- Next step
- Review available collection routes
What would the reviewer check?
Check which materials drive the estimate, compare the observations with the audit photos, and confirm that the preferred recycling route is available at the site before recommending a change.
AI output stays alongside the evidence
The source data includes AI-generated material results, summaries, confidence and a confirmation marker. The detail view surfaces the available confidence and observations alongside photos. A confidence value is context for review; it is not a measured accuracy score or a substitute for checking the audit.
What changed for the team
The delivered dashboard connects the portfolio view to the evidence behind each bin audit. It gives the team a repeatable way to narrow a question, inspect the relevant records and prepare a focused conversation with a site.
A clearer starting point
Site and material comparisons help narrow where a review should begin.
More specific discussions
Contamination, lost recycling and suboptimal routing can be discussed separately.
Evidence within reach
Audit details and photographs provide context for checking a summary finding.
A view that stays connected
Refresh controls bring new database records into the same report without uploading another spreadsheet.
Outcomes are described qualitatively. The fictional figures in the interactive example demonstrate how the report works.
Where else this approach fits
The same pattern can suit organisations that collect observations across many locations and need to connect a summary indicator to the records behind it.
- Commercial property portfoliosCompare building-level waste profiles and target a follow-up review.
- Retail and hospitality groupsInvestigate differences in material disposal across outlets.
- Campuses and public facilitiesConnect area-level findings with individual bin audits and evidence.
Frequently asked questions
Was this dashboard built in Power BI?
No. This project uses a custom HTML and JavaScript interface connected directly to Supabase. ECharts provides the charts and Sankey diagram, and Leaflet provides the map. The choice reflects this project's browser-based reporting requirements.
Does the report use live data?
The delivered dashboard queries current Supabase records on opening and on manual refresh. Optional auto-refresh repeats the query every 60 seconds. This public case study uses fictional data and does not connect to the client's database.
Are the waste weights measured?
No. They are estimates derived from bin capacity, fullness, each material's share and the catalogue density. Volume and estimated weight are available as separate views, and the estimates should not be treated as measured weights.
Does potential recycling mean recycling has already improved?
No. It is an indicator based on configured material recovery rules. It helps identify an opportunity to investigate; it does not prove that the material was recovered or that an operational change has achieved a benefit.
Can a reviewer check the evidence behind a result?
Yes. The delivered dashboard has a searchable audit table and an individual detail view with bin information, material composition, available observations, confidence and audit photographs. The client records and photos are not reproduced in this case study.
Need a clearer view of your operational data?
KS AI & Cloud Solutions builds dashboards and data solutions around the decisions your team needs to make. Tell us what you collect today and which questions are still difficult to answer.