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
A decision, not just a total

Where should the team look next?

Fictional example
Site
View by
Estimated audited waste520 kg
Lost recycling73 kg
Audits in view6

Material pathways by site

  • Contamination
  • Lost recycling
  • Suboptimal stream
  • Best available option

All sites · Weight view · 6 fictional audits

Try a site or switch units. Every value above is invented for this case study. The illustration has no connection to the client's database; the delivered dashboard reads live Supabase records.

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.

The material question

What is in the wrong bin?

Separate contamination from recyclable material lost in general waste. Each calls for a different response.

The location question

Where is it happening?

Compare sites and areas without losing the project, waste-stream and audit context.

The evidence question

What supports the finding?

Check the material breakdown, bin details, observations and photographs behind a summary.

The business need: turn a collection of bin-level observations into a consistent way to prioritise investigation and discuss practical changes with site teams.

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.

  1. 01

    Bring the records together

    Load audits, their material results and image references, alongside the material catalogue used for categories, density and disposal destinations.

  2. 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.

  3. 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.

One report, two perspectives: weight helps compare estimated material mass; volume helps understand how much bin space those materials occupy. Switching units recalculates the view.
Inside the dashboard

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.

Material Pathways
Fictional example
Compare waste streams
View by

Select a segment or legend row to explore a pathway.

Material composition

Share of All streams

10 materials
All pathways
Tissues & paper towels
27.9%145 kg
Disposable coffee cups
19.2%100 kg
Food waste
12.5%65 kg
Other packaging
9.6%50 kg
Paper
7.7%40 kg
Rigid plastics
7.7%40 kg
Plastic bottles (PET)
6.7%35 kg
Cardboard
3.8%20 kg
Glass bottles
2.9%15 kg
Aluminium cans
1.9%10 kg

Preferred destination streams

For all streams
Mixed recycling7.7%40 kg
CDS11.5%60 kg
Paper & cardboard11.5%60 kg
Organics12.5%65 kg
Landfill56.7%295 kg

All streams · 520 kg estimated · 10 materials. Select a donut segment or a legend row to inspect a pathway.

All values and disposal scenarios are fictional. Stream selection updates the distribution; pathway selection narrows the material list and destination summaries. Destination rules and pathway classifications are distinct.
What makes this useful

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.
Sites & material flows
Schematic map
Invented geography

Area → material composition

Site A to Paper & cardboard: 60 kg, fictional Site A to Organics: 40 kg, fictional Site A to Plastics: 30 kg, fictional Site A to Cups & packaging: 50 kg, fictional Site A to Other materials: 40 kg, fictional Site B to Paper & cardboard: 32 kg, fictional Site B to Organics: 50 kg, fictional Site B to Plastics: 10 kg, fictional Site B to Cups & packaging: 18 kg, fictional Site B to Other materials: 30 kg, fictional Site C to Paper & cardboard: 12 kg, fictional Site C to Organics: 40 kg, fictional Site C to Plastics: 38 kg, fictional Site C to Cups & packaging: 32 kg, fictional Site C to Other materials: 38 kg, fictional Site A220 kg Site B140 kg Site C160 kg Paper & cardboard104 kg Organics130 kg Plastics78 kg Cups & packaging100 kg Other materials108 kg

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.

Illustrated map and proportional flows, using invented sites and values. The delivered map and area nodes filter the report; this example highlights the selected site's flows.
What makes this useful

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.
A useful question to answerWhich area should we investigate, and what should we look for?
From audit list to evidence
Fictional records

Sample audits

Choose a record to inspect

Audit / siteEst. weight
The delivered audit table supports search by site, location or auditor.
Audit details

Site A / General waste

Reference
DEMO-A02
Estimated weight
100 kg
Bin / fullness
660 L / 80%
Lost recycling
30 kg
Illustrative observation

Paper and packaging in general waste are worth reviewing against the site's available collection routes.

Illustrative material compositionPaper & cardboard 30% · Organics 40% · Other 30%
Illustration of an audit binIllustration of paper, packaging and organic materialIllustration of materials laid out for audit review

Illustrated evidence tiles · no client photographs

Showing fictional audit DEMO-A02 from Site A.

Three sample records from the fictional six-audit portfolio. The delivered detail view includes available observations, AI confidence, material composition and photographs.
What makes this useful

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.
A useful question to answerWhat does this finding rest on, and what needs checking?

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.

01 / Target contamination

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.

02 / Find lost recycling

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.

03 / Prioritise locations

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.

01 / Source

Supabase

  • Bin audit records
  • Material results and observations
  • Audit photo references
  • Material catalogue and density
02 / Prepare

HTML + JavaScript

  • Match materials to the catalogue
  • Calculate volume and weight estimates
  • Apply disposal classifications
  • Apply the selected filters
03 / Investigate

Interactive report

  • KPIs and material pathways
  • Site comparisons, map and Sankey
  • Searchable audit table and details
  • Filtered CSV export
Conceptual view of the delivered solution. Client-specific database details, connections and storage locations are omitted.

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.

The data model behind the report

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.

Audits link to AI results, audit images and report references by audit ID. Materials link to AI results by AI result ID. A separate material-name lookup connects the reporting data to the material catalogue.
A simplified redraw of the supplied Supabase schema, showing selected field names and relationships. The dashed connection is a material-name lookup performed by the dashboard. No client records, user details, image links or connection values are shown. Open the full-size diagram.

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.

01

Contamination

The material does not belong in the bin under the configured rules. Investigate what is entering that stream and why.

02

Lost recycling

Recyclable material is in general waste. Check the available recycling route and the circumstances at that location.

03

Suboptimal stream

The material is in a less suitable stream than the preferred option. Review whether routing it differently is practical.

04

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.

A fictional worked example

From bin volume to one material's estimated weight

  1. Bin capacity240 L
  2. × Fullness50%
  3. × Material share25%
  4. = Material volume30 L

30 L ÷ 1,000 × 40 kg/m³ = 1.2 kg estimated

All inputs here are illustrative. The density of 40 kg/m³ is an invented example, not a recommended factor or a client value.

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.

  1. Find the locationSelect an area from the map or an area node in the Sankey diagram to filter the report.
  2. Identify the materialInspect the material flow and pathway breakdown to understand what contributes to the issue.
  3. Review the recordOpen the relevant audit and compare the calculated result with observations and photos.
  4. Choose a follow-upDiscuss the finding with the site team, identify what to check and use a later audit to assess any change.
Fictional audit recordIllustration

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.

Bin photoContentsOverview
The delivered report shows the actual audit's photographs. This public illustration uses icons and fictional details to protect confidentiality.

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.

1connected report for overview and investigation
4material pathways to distinguish disposal issues
2unit views: estimated weight and volume
60soptional automatic refresh interval

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.

Client identity, locations, audit records, photographs and database connection details are withheld. All public example data is fictional.