A modern web application for viewing and analyzing survey responses from Excel files and Google Sheets. Display individual responses in a clean, organized format with a beautiful user interface.
🌐 Live Link: https://niramayam12.netlify.app/
📁 GitHub Repository: https://github.com/Chetan1930/sheet-answer-viewer
👨💻 Developer: Chetan1930
- Multiple Data Sources: Support for Excel files (.xlsx, .xls, .csv) and Google Sheets
- Individual Response View: Each person's complete set of answers displayed in organized cards
- Responsive Design: Works seamlessly on all desktop and mobile devices
- Real-time Data Processing: Instant visualization of uploaded data
- Clean UI: Modern interface built with Tailwind CSS and shadcn/ui components
- Node.js (v16 or higher)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/Chetan1930/sheet-answer-viewer.git
cd sheet-answer-viewer- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:8080
Upload Excel Files:
- Click on the "Excel File" tab
- Select your .xlsx, .xls, or .csv file
- Data will be processed and displayed automatically
Connect Google Sheets:
- Click on the "Google Sheets" tab
- Paste your Google Sheets URL
- Make sure your sheet is publicly accessible
- Click "Load" to fetch the data
- Each person's responses are displayed in individual cards
- Questions are numbered and clearly labeled
- Empty responses are indicated as "No response"
- Navigate through all responses using the scrollable interface
The application expects your data to be structured with:
- First row containing question headers
- Each subsequent row representing one person's complete responses
- Any number of questions/columns supported
Example structure:
Name | Age | Favorite Color | Comments
John | 25 | Blue | Great survey
Jane | 30 | Red | Very helpful
- React 18 - Frontend framework
- TypeScript - Type safety and better development experience
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Modern UI component library
- Lucide React - Beautiful icon library
- Axios - HTTP client for API requests
- XLSX - Excel file processing
- React Query - Data fetching and state management
src/
├── components/
│ ├── ui/ # shadcn/ui components
│ ├── Header.tsx # Application header
│ ├── FileUploader.tsx # File upload and Google Sheets integration
│ └── AnswerDisplay.tsx # Response visualization component
├── pages/
│ └── Index.tsx # Main application page
└── App.tsx # Application root component
To connect your own Google Sheet:
- Make sure your Google Sheet is publicly accessible
- Get the sharing URL of your sheet
- Use the Google Sheets tab in the application to load your data
The application can be customized by modifying:
src/pages/Index.tsx- Main application logicsrc/components/AnswerDisplay.tsx- Response display formattingsrc/components/FileUploader.tsx- Data source handling
npm run buildThe built files will be generated in the dist/ directory.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
If you encounter any issues or have questions, please open an issue in the GitHub repository.