The University of Melbourne · FACULTY OF DATA SCIENCE

GEOM90007 Chap.12 Shiny and Reactive Visualisation

- one subject, every graph, every model, every mark
5 Chapters2-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 12 of 13 · GEOM90007

Shiny and Reactive Visualisation

Define reactive programming

Shiny and Reactive Visualisation frames a decision through reactive programming, Shiny application and interaction state.

The objective is to design a minimal reactive path and make defaults, loading states and selected data visible, so the chapter should be read as a chain from problem definition to evidence, option comparison and accountable action.

Start with reactive programming and name the decision owner, affected stakeholders and time horizon.

The same reactive programming fact can matter differently across those positions, so the opening frame determines which evidence is relevant.

Use Shiny application to explain how the present condition produces an opportunity, cost or risk.

A strong Shiny application mechanism states what changes, for whom and through which organisational, market or institutional process.

Apply interaction state when comparing options. Keep the interaction state criteria distinct, test trade-offs and ask which assumption drives the recommendation.

A score or matrix helps only when its criteria are justified by the case.

Trace Shiny application

For the application — design a minimal reactive path and make defaults, loading states and selected data visible — finish with an actor, action, rationale and review trigger. This turns the interaction state analysis into a recommendation while keeping the decision open to new evidence.

Build a decision ledger.

Separate the current condition, the stakeholder affected, the evidence supporting reactive programming, the mechanism represented by Shiny application and the criterion supplied by interaction state.

If a interaction state recommendation cannot point back to one of those entries, it is probably preference dressed as analysis rather than a consequence of the case.

Compare at least two feasible options against the same criteria. State who benefits under interaction state, who bears cost or risk, what capability implementation requires and what evidence would reveal failure.

This comparison is essential when students need to design a minimal reactive path and make defaults, loading states and selected data visible, because an attractive option is not defensible until its trade-offs are visible.

Rehearse the GEOM90007 reactive programming response as a short briefing: one sentence for the decision, two for the evidence and mechanism, one for the alternative and one for the qualified recommendation.

Then expand only the Shiny application move that needs more support. This protects the argument structure under a strict word or time limit.

Test with interaction state

A complete response should make the task visible before the detail: identify what must be decided, define the relevant terms, connect the evidence to Shiny application, and use interaction state to test the result.

The final sentence about interaction state should answer the question actually asked rather than merely repeat the topic.

The controlling limit is specific: Interactivity should not make an analysis non-auditable or allow incompatible filter combinations without feedback.

Keep that interaction state limit beside the worked example, because it separates a careful GEOM90007 answer from one that sounds confident but claims more than the task or evidence supports.

For revision, retrieve reactive programming, Shiny application and interaction state without notes, explain their relationship aloud, then complete a changed version of the application: design a minimal reactive path and make defaults, loading states and selected data visible.

Record the first failed Shiny application reasoning move and repair it before attempting another case.

In this chapter

What this chapter covers

  • 01

    reactive programming

  • 02

    Shiny application

  • 03

    interaction state

  • 04

    Applying reactive programming

  • 05

    Limits of Shiny application and interaction state

Worked example · free

AskSia practice: apply Shiny and Reactive Visualisation

Q [4 marks]. AskSia-authored four-point reasoning drill: how should a student design a minimal reactive path and make defaults, loading states and selected data visible? This is not a University question or marking scheme.
  • 1Define reactive programming in the scenario.
  • 1Explain the mechanism using Shiny application.
  • 1Test the conclusion with interaction state.
  • 1State a qualified decision and review signal.
A strong response identifies the relevant evidence, uses Shiny application as the explanatory link and tests the recommendation through interaction state. It ends by stating that interactivity should not make an analysis non-auditable or allow incompatible filter combinations without feedback.
Sia tip — The four points are AskSia-authored practice weighting only.
Glossary

Key terms

reactive programming
A programming model in which outputs automatically update when the input values or dependencies they use change. Use this definition when the task is to design a minimal reactive path and make defaults, loading states and selected data visible.
Shiny application
An R-based interactive web application connecting user-interface inputs to reactive data, analysis and visual outputs. Use this definition when the task is to design a minimal reactive path and make defaults, loading states and selected data visible.
interaction state
The current values of filters, selections and controls that determine what an interactive visualisation displays. Use this definition when the task is to design a minimal reactive path and make defaults, loading states and selected data visible.
FAQ

Shiny and Reactive Visualisation FAQ

What is the main task in Shiny and Reactive Visualisation?

Design a minimal reactive path and make defaults, loading states and selected data visible.

How do reactive programming and Shiny application work together?

Use reactive programming to establish the object or condition, then use Shiny application to explain how it changes the outcome being analysed.

What must a GEOM90007 answer qualify here?

Interactivity should not make an analysis non-auditable or allow incompatible filter combinations without feedback.

How should I revise Shiny and Reactive Visualisation?

Retrieve reactive programming, Shiny application and interaction state, apply them to a changed case, and correct the first point where the evidence no longer supports the conclusion.

Study strategy

Assessment move

Reconstruct the relationship among reactive programming, Shiny application and interaction state; complete the chapter application without notes; then test the result against this limit: Interactivity should not make an analysis non-auditable or allow incompatible filter combinations without feedback.

Working through Shiny and Reactive Visualisation in GEOM90007? Sia is AskSia’s AI Data Science tutor — ask any GEOM90007 Shiny and Reactive Visualisation question and get a clear, step-by-step explanation grounded in how GEOM90007 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 12 of your The University of Melbourne subjects - and 1,000+ Bibles across every Australian university.
Sia - your GEOM90007 tutor, unlimited, worked the way the exam marks it
The full 2-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
Unlock the full GEOM90007 Bible + 12 The University of Melbourne subjects
$0.99 Trial