Git Product home page Git Product logo

visual-town-budget's Issues

Tabular View Enhancements

  • How are these sorted, if any? Should sort by columns (name/$/etc.)?
  • Pop-overs block highlighting new tabs
  • Can click through pop-overs to toggle display on parent tabs
  • Some graph lines draw below their allotted tab
  • Triangles should transition when opening/closing parent tabs

python import script - compatible with levels?

trying to use 'processCSV.py' with a csv file (first two lines below). getting the following error:

@expenses
list index out of range
Error reconstructing tree at node: <main.entry instance at 0x7f9edeafccb0>

==========CSV Example=================================
LEVEL1,LEVEL2,LEVEL3,LEVEL4,LEVEL5,TOOLTIP,SOURCE,SOURCE URL,2010,2011,2012,2013,2014,2015,2016,2017,2018,LEVEL
General Fund,Administration,SALARIES AND WAGES,,,,,,104357.00,111563.00,179844.00,115976.00,222554.00,160906.00,,,,3

Trendline Slider Enhancements

  • First year on graph says '100%' increase from last year. Maybe put in prior year's values without drawing them?
  • Values for years change in-between year tick marks (changing on fiscal year?)

Internet Explorer problems

IE8 and earlier, doesn't work at all, Just see the header and footer with no map or graph.

IE9&10 shows Labels but missing the money totals on the tree map. (Ex on Revenues screen. Shows "Property Tax" but missing "79M"

IE11 Missing all labels on tree map, can't click through map. Graph works.

Text Card Enhancements

  • Left/Right swap buttons do not line up on swapping
  • 'Town of Arlington' link should open in new tab

Modify distro contents to make updating simpler

Remove the data files (csv & json) from /data & /data/processing. Rename /includes/localized_variables.php to localized_variables_template.php. The intent is to allow updating a site by simply overwriting with all the files in the distro, without overwriting the data and localization. Sample data files could be packaged separately for the initial installation.

IE popovers show wrong text

IE popovers show block title, should show "Your contribution is $XXX" for Expenses, tooltip field for Funds & Revenues.

Are you adjusting for inflation when comparing over time?

When showing fiscal budgets over time, its a good idea to adjust for inflation to ensure apples to apples comparisons of spending. I looked through your code and didn't see any evidence that you were doing so.

A straightforward way to do this is to take the Consumer Price Index (CPI) and multiply your data by it for each year.

Here's a table of CPI: ftp://ftp.bls.gov/pub/time.series/cu/cu.data.4.AsizeNorthCentral
Here's an R script we use to do the calculation: https://github.com/open-city/hows-business/blob/master/import/taxes.R

Make Localized Variables

Make a variable file so new instances of VTB can more easily be spun up with the proper data. Replace hard coded data with these variables.

Various Enhancements/Oddities

  • Why is 'Funds' the landing page?
  • Keep tabular/map view when switching between Revenue/Expenses/Funds?
  • Transitions on tour not lined up. Div gets highlighted before transition
  • Not all pop-overs have descriptions
  • When you dive in a parent that has one child, you first view the parent zoomed in, then you click again and view the child, but the data is exactly the same because there is only one child holding any data for the parent. This middle zone should be bypassed. (E.g. Revenues > Other Revenues)
  • No highway maintenance salaires in 2010?

Treemap scaling for small data values

Small entries for data are nearly impossible to see sometimes at the bottom of the tree map. Especially if drawn as a small thin line rather than a square.

City/Town switch

Use "town" or "city" in various text strings, e.g. "City/Town budget visualized", "how much money does the city/town spend on schools", "Education is an important factor in City/Town expenses". Could be a separate field in localized_variables.php, or just parse $longName.

Tree Map Pop-Overs

Pop-overs sometimes don't disappear when transitioning, and get permanently stuck on page.

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.