Git Product home page Git Product logo

Comments (3)

akilism avatar akilism commented on June 23, 2024

I took a look at this but i'm not sure I fully understand the data. I can add the commas in easy enough and get a quick and dirty solution for the percentages...but there are vaules that I don't get, like fractional population counts. Sometimes total population is like 1230.023?

from dcaction.

nickmcclellan avatar nickmcclellan commented on June 23, 2024

Thanks for the help Akil! So the reason a population count would have trailing decimal points like that is because that number was computed by spatially joining smaller geometries into the neighborhood cluster. It is an estimation of what the population count for that neighborhood would be if the smaller geometries were combined. In some cases, the neighborhood cuts through one of these smaller geometries, resulting in decimal estimations. For counts, it's fine to just round this to the nearest whole number.

Our favored longterm procedure for updating data, however, will have our script hitting the Census API for updated numbers and crosswalking them to the neighborhood level, resulting in decimal points on occasion. It would be ideal for the visualization to parse these out instead of editing the CSV, but if we want to make the number translation in the CSV, I can talk to our data folks about having our Census script make the adjustment for us. I figured transforming in the visualization.js would be ideal, hence the issue.

Thanks for taking a look at this!

from dcaction.

akilism avatar akilism commented on June 23, 2024

Fixed in commit: nickmcclellan@d0afc64

from dcaction.

Related Issues (20)

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.