Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.25 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.25 KB

vizwit-pages

This is a simple jekyll site made for persisting vizwit configurations that are served at data.phila.gov/visualizations. The upstream vizwit project is configured using gist IDs, but we wouldn't want anyone to create their own vizwit page and have it be accessible from data.phila.gov. So we forked vizwit and added vizwit-onpage.js, which gets the configuration from a <script class="vizwit"> tag on the page instead of from a gist. This jekyll site then renders those configurations onto a script tag and includes our forked vizwit-onpage.js entrypoint.

Since then, we made a few other changes to our fork and didn't merge them into the upstream repo.

This site is technically published to cityofphiladelphia.github.io/vizwit-pages/ but it's reverse proxied at data.phila.gov/visualizations/ by the AWS API Gateway that was created for the soda-carto project.