Simple, static web page that uses dashboard-js library to render visualizations.
To improve layout, simply edit stylesheets in css/
directory. The only HTML file is index.html
.
We've modularized widgets into separate json files in widgets/
. The js/prepare.js
script bundles all json files into config
variable in a way that dashboard-js
can use it.
To add a new one, you need to create a json file in the directory. See other examples for syntax.
dashboard-js
submodulejs/script.js
: node js/prepare.js
master
branch
index.html
file. Your deployment should be available at https://london.datahub.io