Giter Site home page Giter Site logo

ashok-bidani / cdc-data-display Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 230 KB

Interactive web display showing correlations between US demographics and various health outcomes (heart attack, depression, and diabetes incidence). When an axis is clicked, the graph changes to include data from the selected variable. Built using D3.js

Home Page: https://ashok-bidani.github.io/CDC-Data-Display/

CSS 4.54% JavaScript 91.57% HTML 3.89%
d3js data-journalism census-bureau cdc-data interactive-charts

cdc-data-display's Introduction

CDC Data Display

Created an interactive display which showcases 9 different correlated relationships between smoking, physical activity, and median househod income and three health indicators. Website is hosted through Github Pages: https://ashok-bidani.github.io/CDC-Data-Display/.

Variables

The data in this project is distributed across 51 circles, each of which represents the statistic for a particular state (or the DC area). The three X variables are shown below the X axis and are health impactors. Each of these has a substantial correlation with the three health indicators shown to the left of the Y axis (these three health indicators are the Y variables). Clicking on an axis label will change the axis and the graph to reflect the new data.

The three X variables are:

  • Smoking (percentage of state population that are current smokers)

  • Physical Activity Last Month (percentage of state population that exercised at least once in the previous month)

  • Median Household Income (median household income for the state, in dollars).

The three Y variables are:

  • Depression (percentage of state population who has ever been told they have a form of depression)

  • Heart Attack Ever (percentage of state population who has ever been told they have had a heart attack)

  • Diabetes Ever (percentage of state population who has ever been told they have diabetes).

The default relationship is set to Smoking (%) versus Heart Attack Ever (%).

Demo

Here is a video of myself demonstrating use of the display (I show 6 relationships of the possible 9). Demo

Sources

cdc-data-display's People

Contributors

ashok-bidani avatar

Watchers

 avatar

cdc-data-display's Issues

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.