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 installStart development server:
npm run serveRun tests:
npm run test:unit
npm run lintCompile app for production:
npm run buildCompile component app for production:
npm run build-wcA new version of the app will be deployed on each commit on the main branch.