DATA SCIENCE. BUILT IN 2024.

DATA INSIGHT APP / R SHINY

From data
to insight.

An interactive lens on house prices.

I built this R Shiny application to explore how housing features relate to sale prices. Choose a chart, change the variables and investigate the patterns behind the numbers.

Data Insight. House Price Explorer. A luminous house rises above a histogram.
Sale price percentiles by year · USD
P10: 2006 $107,300, 2007 $110,400, 2008 $108,000, 2009 $100,000, 2010 $101,110P25: 2006 $131,375, 2007 $129,900, 2008 $131,250, 2009 $125,250, 2010 $128,100Median: 2006 $163,995, 2007 $167,000, 2008 $164,000, 2009 $162,000, 2010 $155,000P75: 2006 $218,782, 2007 $219,500, 2008 $207,000, 2009 $212,750, 2010 $213,250P90: 2006 $275,000, 2007 $290,000, 2008 $271,000, 2009 $275,900, 2010 $264,900
20062007200820092010
P10P25MedianP75P90

01 / THE DATASET

Start with
a better question.

How are prices distributed? Which features move together? What changes when you choose a different view?

In early 2024, I turned an academic experiment into a deployed application using Kaggle’s House Prices: Advanced Regression Techniques dataset. The interface makes exploratory analysis accessible to technical and non-technical audiences.

These views support exploration. Correlation does not establish causation, and historical observations are not a current property valuation.

All nine chart options

Histogram, density plot, bar plot, scatter plot, box plot, line chart, area chart and frequency polygon, plus a correlation heatmap.

Match each chart to suitable variable types. Line and area charts require a meaningful ordering; an arbitrary row sequence can create a misleading visual relationship.

02 / THE WORKFLOW

A traceable path
from source to screen.

Preparation, application logic and presentation each have a clear role.

I used Jupyter Notebook for data preparation and R Shiny for the interactive application. The published R code connects a CSV dataset to user-selected visualizations and summary statistics.

  1. 01 / SOURCEHousing data

    Kaggle dataset

  2. 02 / PREPAREJupyter Notebook

    Data preparation → CSV

  3. 03 / INTERACTR Shiny

    Chart and variable inputs

  4. 04 / EXPLOREPlots & summaries

    ggplot2 + Plotly

Conceptual project workflow. The preparation step precedes the running Shiny application.

Designed for exploration

Shiny connects interface inputs to R calculations. I used ggplot2 and Plotly in the original study. The current app renders its interactive charts directly with Plotly. A separate summary tab keeps descriptive statistics close to the visual analysis.

Source you can follow

The repository brings together the application script, dataset, project documentation and development report. It provides a starting point for understanding the implementation and extending the analysis.

Implementation details

The published app reads the bundled train.csv. Choose a view and its fields, then select Generate Chart to apply the selection.

Complete-case analysis excludes rows with missing values in those columns. Review missingness and the meaning of numeric codes before interpreting the resulting correlations.

03 / INTERACTIVE EXPLORATION

One dataset.
Three ways in.

Find the spread

Start with the sale-price histogram. Change the number of intervals and select Generate Chart to see which patterns persist.

Compare homes

Plot living area against sale price. Each point is one transaction. Switch to a box plot to compare the middle half of sale prices across neighborhoods.

Read across years

Choose the line chart with sale price as the vertical field. Each point shows that year’s median, and the mix of homes sold can change from year to year.

View the figures behind the annual comparison
Recorded sales by sale year
YearSalesMedian price
2006314$163,995
2007329$167,000
2008304$164,000
2009338$162,000
2010175$155,000

04 / CYBERSECURITY, AI & DATA SCIENCE

Data integrity belongs
in the design.

Reliable analysis starts before the first chart.

All 1,460 sales have a price. Only 1,379 include a garage construction year. When I compare those two fields, 81 sales drop out. That’s why I show the number of records behind each chart.

I ask the same questions when reviewing an AI system or investigating a security alert. Where did the input come from? What did processing exclude? Can I trace the result back to the records that support it?

“Data integrity is as vital as analytical accuracy.”Jibril Anifowoshe

EXPLORE THE PROJECT

Choose a variable.
Follow the question.

Open the app to investigate housing data, or explore the code behind the interface.

Dataset: House Prices: Advanced Regression Techniques