Skip to content

datopian/city-indicators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple, static web page that uses dashboard-js library to render visualizations.

Development

HTML and CSS

To improve layout, simply edit stylesheets in css/ directory. The only HTML file is index.html.

Widgets

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.

Deployment

  1. Update dashboard-js submodule
  2. Bundle all widgets that will produce js/script.js: node js/prepare.js
  • This is needed as editing large config file is tedious.
  1. Push to master branch

About

A dashboard for city indicators starting with London

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •