This project is a data visualization tool for analyzing Netflix user data. It demonstrates how to handle and display nested data structures efficiently using SolidJS, a modern JavaScript library for building user interfaces.
- Visualizes complex, nested Netflix user data
- Allows grouping by country or genre
- Implements filtering by search term, country, and genre
- Utilizes responsive design with Tailwind CSS
- Optimizes performance with SolidJS signals and memoization
The application works with a nested data structure:
- Countries
- Genres
- Users
- Watch History
- Users
- Genres
App
: The main component that manages the overall state and layout.Sidebar
: Handles filtering options and grouping selection.MainContent
: Displays the filtered and grouped data.GenreTable
: Shows genre-specific information when grouped by country.UserTable
: Displays user-specific information when grouped by genre.
- Data Filtering: Implemented in
utils/filters.ts
, allowing for efficient filtering of the nested data structure. - Dynamic Grouping: Users can switch between grouping by country or genre, demonstrating flexible data manipulation.
- Expandable Items: Users can expand/collapse country or genre entries to view more detailed information.
- Performance Optimization: Utilizes SolidJS's reactive system for efficient updates and rendering.
- Clone the repository
- Install dependencies:
npm install
orpnpm install
- Run the development server:
npm run dev
orpnpm run dev
- Open http://localhost:3000 in your browser
To learn more about SolidJS, check out the Solid Documentation.
- SolidJS
- TypeScript
- Tailwind CSS
- Vite
For any questions or feedback, please contact:
Email: [email protected]