Git Product home page Git Product logo

timelinesetter's Introduction

#TimelineSetter

  • Full docs for ProPublica TimelineSetter can be found here

###Setup

  • Create a spreadsheet using this template

    • Make sure to use single instead of double quotes in HTML column
  • Download spreadsheet as csv (Google will automatically append filename with " - sheetName" but the gem doesn't like spaces in the filename so make sure to fix that before running)

  • Install TimelineSetter: gem install timeline_setter

  • Run timeline-setter -c /path/to/data.csv -o /path/to/output/directory(if you omit -o it will assume current directory)

    • if you already have the a version of the template files use -a to prevent overwriting any customizations (maybe I'm doing it wrong but couldn't make that work - just make a copy of the altered CSS and keep that one on the server)

###ToDo

  • Top priorities:

    1. Add chart above timeline
    2. Delete Monday dates from spreadsheet (and re-run script)
    3. Change interval notch defaults so that timeline starts at 7 a.m. Tuesday to match up with the traffic data, if you can't figure it out ask John for traffic data starting at midnight Tuesday morning
    4. Add marker to chart to show corresponding timestamp to active timeline card
    5. Fix issue with embedded Tweets wiping out other data - or add the info to the html column, that seems to work for some reason
  • Secondary:

    • mobile testing/optimizations
    • Cross-browser testing (I've only looked at it in Firefox on Mac)
    • If someone can incorporate the stills from the timelaps somehow that could be cool

##Notes

  • Right now some of the photos are loading on the wrong side (when 960px or smaller), but if we start the timeline Tuesday morning instead of Monday that should fix the problem (for now)

timelinesetter's People

Contributors

emilymerwin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.