Cube Viewer is both an app and a reusable component to visualize data cubes based on the rdf-cube-schema.
A demo of the app is deployed at cube-viewer.zazuko.com.
cube-viewer.mp4
It is possible to create a link to view a specific cube:
https://cube-viewer.zazuko.com?endpointUrl=<endpoint URI>&cube=<cube URI>
The following query params are supported:
endpointUrl
(mandatory): URL of the SPARQL endpointcube
: URI of the cubesourceGraph
: URI of the graphuser
: username to connect to the endpointpassword
: password to connect to the endpoint (it's probably not a good idea to share links that contain passwords...)
TODO
Setup project:
git clone https://github.com/zazuko/cube-viewer.git
cd cube-viewer
npm install
Start development server:
npm run serve
Run tests:
npm run test:unit
npm run lint
Compile app for production:
npm run build
Compile component app for production:
npm run build-wc
A new version of the app will be deployed on each commit on the main
branch.