search and explore datasets by subject area and dataset name The app loads a JSON database of datasets and allows filtering by typing in the search box. Each dataset includes:
subject_area– the field or category of the datasetdataset– the dataset name (clickable link)dataset_link– URL to the datasetdescription– short description of the dataset
The app is hosted on GitHub Pages: Datasets Explorer
- Search by subject area or dataset name
- Dynamic, live filtering as you type
- Clickable dataset links that open in a new tab
- Lightweight and fast, built with React + Vite
- JSON data stored in
public/datasets.jsonfor easy updates
git clone https://github.com/emblumenthal/datasets-explorer.git
cd datasets-explorernpm installnpm run dev- Open http://localhost:5173 in your browser to see the app live.
npm run build- This generates the
dist/folder for deployment.
npm run previewThis project is deployed on GitHub Pages. To deploy:
- Install
gh-pagesif not already:
npm install --save-dev gh-pages- Add deploy scripts in
package.json:
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
}- Deploy:
npm run deploy- The app will be live at https://emblumenthal.github.io/datasets-explorer/
The app expects a JSON file (public/datasets.json) with the following structure:
[
{
"subject_area": "Health",
"dataset": "CDC Mortality Data",
"dataset_link": "https://www.cdc.gov/data",
"description": "Mortality statistics for US populations."
},
{
"subject_area": "Education",
"dataset": "NCES School Data",
"dataset_link": "https://nces.ed.gov/",
"description": "Data on schools, enrollments, and performance."
}
]- Add new datasets by editing
datasets.jsonin thepublic/folder - Open a PR with improvements or bug fixes
- Make sure to test locally (
npm run dev) before submitting changes
This project is open-source under the MIT License.