klharp / D3-DataJournalism

Used a Census Bureau dataset to investigate the health risks facing a particular demographic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Journalism and D3

Project Overview

This project focused on visualizing health risks facing particular demographics. The data set included with the assignment is based on 2014 ACS 1-year estimates from the US Census Bureau with data on state rates of poverty, age, income, healthcare, obesity, and smoking.

Languages and libraries used:

  • Javascript
  • D3
  • HTML
  • CSS

The final app can be viewed at: https://klharp.github.io/D3-DataJournalism/.


Required Assignment

Using D3, created a scatter plot between two of the data variables Healthcare vs. Poverty.

  • Rendered the state abbreviations within the circle elements.
  • Scaled the axes appropriately.
  • Styled the text and circle elements.

Default Plot


Bonus Assignment

Make graph(s) dynamic and interactive.

  • Made responsive.
  • Added more demographics and risk factors. Additional axis labels have click events so users can decide which data to display.
  • Transitions were applied.

dynamic

  • Tooltips were added to reveal specific data when the user hovers the cursor over the circle element.
  • The tooltip dynamically provides data for both the chosen X and Y axes.
  • Styled the tooltip element.

tooltips

About

Used a Census Bureau dataset to investigate the health risks facing a particular demographic.


Languages

Language:JavaScript 86.7%Language:HTML 9.2%Language:CSS 4.2%