Skip to content

Emily-Keymon/Health-Risk-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visit website for completed project: https://emily-keymon.github.io/Health-Risk-Analysis/


Health Risk Analysis

The goal of this project was to use JavaScript to present a visualization of pre-selected census data from each state within a web page. Since the baseline data was provided in CSV format, D3 was used to import and process the data, as well as generate the required visualization.


Dataset

https://github.com/Emily-Keymon/Health-Risk-Analysis/blob/master/assets/data/data.csv


Tools Used

  • PyCharm - Python IDE
  • HTML, CSS, Bootstrap
  • JavaScript - d3

Tasks

  1. Import the data from the CSV file.
  2. Set the locations and ranges for the x and y axes.
  3. Plot the x and y axes.
  4. Set the coordinates and dimensions for the circles representing the data for each state.
  5. Plot the circles representing the data for each state.
  6. Add a text label of each state's abbreviation within the appropriate circle for identification purposes.

Results

screenshot

About

Health risk analysis using JavaScript D3 to create a scatter plot between two data variables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published