# jupyterlab_unianalytics_dashboard

> A JupyterLab dashboard extension to visualize data from students.

Latest version **5.0.4** (published 2026-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install jupyterlab_unianalytics_dashboard
pnpm add jupyterlab_unianalytics_dashboard
yarn add jupyterlab_unianalytics_dashboard
bun add jupyterlab_unianalytics_dashboard
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.0.4 |
| Published | 2026-04-01 |
| First published | 2023-11-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 16 |
| Unpacked size | 635.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Uni Analytics |
| Maintainers | rmarieta, unianalytics |
| Keywords | jupyter, jupyterlab, jupyterlab-extension |

## Links

- npm: https://www.npmjs.com/package/jupyterlab_unianalytics_dashboard
- Repository: https://github.com/chili-epfl/jupyter-analytics-dashboard
- Issues: https://github.com/chili-epfl/jupyter-analytics-dashboard/issues
- npm.io page: https://npm.io/package/jupyterlab_unianalytics_dashboard

## Dependencies (16)

- [marked](https://npm.io/package/marked.md) ^11.1.1
- [chart.js](https://npm.io/package/chart.js.md) ^4.4.1
- [bootstrap](https://npm.io/package/bootstrap.md) ^5.3.2
- [react-redux](https://npm.io/package/react-redux.md) ^8.0.5
- [react-bootstrap](https://npm.io/package/react-bootstrap.md) ^2.10.0
- [react-chartjs-2](https://npm.io/package/react-chartjs-2.md) ^5.2.0
- [@reduxjs/toolkit](https://npm.io/package/@reduxjs/toolkit.md) ^1.9.5
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^4.7.5
- [chartjs-plugin-zoom](https://npm.io/package/chartjs-plugin-zoom.md) ^2.2.0
- [@jupyterlab/services](https://npm.io/package/@jupyterlab/services.md) ^7.0.0
- [@jupyterlab/coreutils](https://npm.io/package/@jupyterlab/coreutils.md) ^6.0.0
- [react-bootstrap-icons](https://npm.io/package/react-bootstrap-icons.md) ^1.10.3
- [@juggle/resize-observer](https://npm.io/package/@juggle/resize-observer.md) ^3.4.0
- [@jupyterlab/application](https://npm.io/package/@jupyterlab/application.md) ^4.0.0
- [@jupyterlab/settingregistry](https://npm.io/package/@jupyterlab/settingregistry.md) ^4.0.0
- [react-infinite-scroll-component](https://npm.io/package/react-infinite-scroll-component.md) ^6.1.0

## Recent versions

- 5.0.4 (latest) — 2026-04-01
- 5.0.3 — 2026-03-25
- 5.0.2 — 2026-03-25
- 5.0.1 — 2026-02-24
- 5.0.0 — 2026-02-05
- 4.0.21 — 2025-04-23
- 4.0.20 — 2025-04-07
- 4.0.19 — 2025-02-07
- 4.0.18 — 2024-05-31
- 4.0.17 — 2024-05-28
- 4.0.16 — 2024-05-28
- 4.0.15 — 2024-05-24
- 4.0.14 — 2024-05-23
- 4.0.13 — 2024-05-23
- 4.0.12 — 2024-05-01
- … 10 more at https://npm.io/package/jupyterlab_unianalytics_dashboard/versions

## README

# Jupyter Analytics Dashboard

[![Binder Badge](https://github.com/chili-epfl/jupyter-analytics-dashboard/actions/workflows/binder-on-pr.yml/badge.svg)](https://github.com/chili-epfl/jupyter-analytics-dashboard/actions/workflows/binder-on-pr.yml)
[![Build](https://github.com/chili-epfl/jupyter-analytics-dashboard/actions/workflows/build.yml/badge.svg)](https://github.com/chili-epfl/jupyter-analytics-dashboard/actions/workflows/build.yml)
[![Check Release](https://github.com/chili-epfl/jupyter-analytics-dashboard/actions/workflows/check-release.yml/badge.svg)](https://github.com/chili-epfl/jupyter-analytics-dashboard/actions/workflows/check-release.yml)

This repository is part of the learning analytics system ([**Jupyter Analytics**](https://github.com/chili-epfl/jupyter-analytics)). It builds a JupyterLab extension that communicates with the [**Backend**](https://github.com/chili-epfl/jupyter-analytics-backend) and provides real-time visualizations of the interaction data collected by [**Telemetry**](https://github.com/chili-epfl/jupyter-analytics-telemetry).

## Requirements

- JupyterLab >= 3.1.0

### Compatibility

| Project Version | Tested With            | Notes                        |
| --------------- | ---------------------- | ---------------------------- |
| >= v5.0.0       | JupyterLab 4.x only    | JupyterLab 3.x not supported |
| < v5.0.0        | JupyterLab 4.x and 3.x | Deprecated compatibility     |

## Install

To install the extension, execute:

```bash
pip install jupyterlab-unianalytics-dashboard
```

## Uninstall

To remove the extension, execute:

```bash
pip uninstall jupyterlab-unianalytics_dashboard
```

## Troubleshoot

If you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:

```bash
jupyter server extension list
```

If the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:

```bash
jupyter labextension list
```

## Contributing

### Development install

Note: You will need NodeJS to build the extension package.

The `jlpm` command is JupyterLab's pinned version of
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
`yarn` or `npm` in lieu of `jlpm` below.

```bash
# Clone the repo to your local environment
# Change directory to the jupyterlab_unianalytics_dashboard directory
# Install package in development mode
pip install -e ".[test]"
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Server extension must be manually installed in develop mode
jupyter server extension enable jupyterlab_unianalytics_dashboard
# Rebuild extension Typescript source after making changes
jlpm build
```

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

```bash
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm watch
# Run JupyterLab in another terminal
jupyter lab
```

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the `jlpm build` command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

```bash
jupyter lab build --minimize=False
```

### Development uninstall

```bash
# Server extension must be manually disabled in develop mode
jupyter server extension disable jupyterlab_unianalytics_dashboard
pip uninstall jupyterlab_unianalytics_dashboard
```

In development mode, you will also need to remove the symlink created by `jupyter labextension develop`
command. To find its location, you can run `jupyter labextension list` to figure out where the `labextensions`
folder is located. Then you can remove the symlink named `jupyterlab_unianalytics_dashboard` within that folder.

### Testing the extension

#### Server tests

This extension is using [Pytest](https://docs.pytest.org/) for Python code testing.

Install test dependencies (needed only once):

```sh
pip install -e ".[test]"
# Each time you install the Python package, you need to restore the front-end extension link
jupyter labextension develop . --overwrite
```

To execute them, run:

```sh
pytest -vv -r ap --cov jupyterlab_unianalytics_dashboard
```

#### Frontend tests

This extension is using [Jest](https://jestjs.io/) for JavaScript code testing.

To execute them, execute:

```sh
jlpm
jlpm test
```

#### Integration tests

This extension uses [Playwright](https://playwright.dev/docs/intro) for the integration tests (aka user level tests).
More precisely, the JupyterLab helper [Galata](https://github.com/jupyterlab/jupyterlab/tree/master/galata) is used to handle testing the extension in JupyterLab.

More information are provided within the [ui-tests](./ui-tests/README.md) README.

### Packaging the extension

See [RELEASE](RELEASE.md)

## Credits

- [Raphaël Mariétan](https://github.com/Rmarieta) (main developer)
- [Richard Davis](https://github.com/richarddavis) (developer, project manager, researcher)
- [Zhenyu Cai](https://github.com/zy-cai) (developer, researcher)
- [Pierre Dillenbourg](https://scholar.google.com/citations?user=FdvKJcIAAAAJ) (principle investigator, research advisor)
- [Roland Tormey](https://scholar.google.com/citations?user=IHrqibEAAAAJ) (research advisor)

This project is part of the "[Uni Analytics](https://data.snf.ch/grants/grant/187534)" project funded by SNSF (Swiss National Science Foundation). That's why in the source code we put "unianalytics" as the identifier. 😃

## Citation

If you find this repository useful, please cite our paper:

```text
Cai, Z., Davis, R., Mariétan, R., Tormey, R., & Dillenbourg, P. (2025).
Jupyter Analytics: A Toolkit for Collecting, Analyzing, and Visualizing Distributed Student Activity in Jupyter Notebooks.
In Proceedings of the 56th ACM Technical Symposium on Computer Science Education (SIGCSE TS 2025).
```

## Copyright

© All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE (EPFL), Switzerland, Computer-Human Interaction Lab for Learning & Instruction (CHILI), 2025

## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/chili-epfl/jupyter-analytics-telemetry/blob/main/LICENSE) file for details.

---
_Source: https://npm.io/package/jupyterlab_unianalytics_dashboard · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
