// Evidence framework data dashboard with DuckDB. Write SQL in markdown to create visualizations.
| name | happiness-dashboard |
| description | Evidence framework data dashboard with DuckDB. Write SQL in markdown to create visualizations. |
An interactive data dashboard using Evidence framework - write SQL queries in markdown to create visualizations.
build directorygit clone --depth 1 https://github.com/Eng0AI/happiness-dashboard-template.git .
If the directory is not empty:
git clone --depth 1 https://github.com/Eng0AI/happiness-dashboard-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
rm -rf .git
git init
pnpm install
pnpm run sources
pnpm run build
Generates static site in build/ directory.
vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN
Important: Deploy from project root, not build/ directory.
netlify deploy --prod --dir=build
CSV files in sources/happiness_score/:
hs2024.csv - Current year happiness datahsArchive.csv - Historical happiness data.npmrc has shamefully-hoist=true for Evidence compatibilitypnpm run dev in VM environment