/Healh-Risks-vs-Age-Income

This project uses javascript and D3 to display multiple sets of data about health and income in the same plot.

Primary LanguageJavaScript

Health risks vs age income

The goal of this project is, by using the data set based on 2014 ACS 1-year estimates from the US Census Bureau, to create a website with an interactive graph with the use of JavaScript and D3. The current data set includes data on rates of income, obesity, poverty, smoking, age, and lacking of healthcare.

Index.html

Index.html holds the structure of the website and calls the scripts.

Data.csv

File with all the data

Style.css & d3Style.css

Files with some styling for visual asthetics.

App.js

Script that makes space and creates the plot. The plot is a scatter plot and is interactive, each axis label can be clicked to show its data on the graph. The plot also dynamically resizes depeding of the size of the window.