Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

DataViz Studio — Updated ggplot2 Project

A modular R Shiny application for uploading datasets and creating customizable ggplot2 visualizations.

Current fixes

  • Uses ggplot2 only for chart generation.
  • X/Y controls are generated dynamically with renderUI() after data loads.
  • CSV-specific controls are shown only for .csv uploads.
  • Excel, SAS, and RDS uploads do not show CSV separator/header controls.
  • Custom CSS is loaded through page_navbar(header = ...), which removes the Navigation containers expect... warning.
  • Source code contains extensive comments explaining the behind-the-scenes logic.

Supported files

  • .csv
  • .xlsx
  • .xls
  • .sas7bdat
  • .rds

Supported charts

  • Bar chart
  • Line graph
  • Scatter plot
  • Box plot
  • Histogram
  • Waterfall plot
  • Butterfly plot
  • Candlestick-style OHLC chart

Project structure

dataviz_studio_updated/
├── global.R
├── ui.R
├── server.R
├── R/
│   └── helpers.R
├── www/
│   └── styles.css
├── sample_data.csv
├── sample_financial.csv
└── README.md

Install required packages

install.packages(c(
  "shiny",
  "bslib",
  "DT",
  "ggplot2",
  "readxl",
  "haven",
  "scales"
))

Run

Open R/RStudio in the extracted project folder and run:

shiny::runApp()

Test the app

Use sample_data.csv for bar, line, scatter, box, histogram, waterfall, and butterfly charts.

Use sample_financial.csv for the candlestick chart.

CSV behavior

When a .csv file is uploaded, the app shows:

  • CSV has column names
  • CSV separator

When .xlsx, .xls, .sas7bdat, or .rds is uploaded, those controls are hidden because they are not relevant to those formats. "# DataViz"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages