This requires the use of Python with D3 as well as HTML and Java script. Using the D3 create a scatter plot that represents each U.S. state with circle elements. You'll code this graphic in the...

This requires the use of Python with D3 as well as HTML and Java script. Using the D3 create a scatter plot that represents each U.S. state with circle elements. You'll code this graphic in the app.js file. Make sure you pull in the data from data.csv by using the d3.csv function. Please see the instructions doc file as well as the 6 supporting files. Please comment the code well as I will need to explain it.

Please comment the code well.


The data set included with the assignment is based on 2014 ACS 1-year estimates: https://factfinder.census.gov/faces/nav/jsf/pages/searchresults.xhtml, but you are free to investigate a different data set. The current data set includes data on rates of income, obesity, poverty, etc. by state. MOE stands for "margin of error."


This utilizes both
html
and
Javascript
please be sure to add all the necessary files. These will be the main files to run for analysis.



Your Task



D3 Dabbler


You need to create a scatter plot between two of the data variables such as Healthcare vs. Poverty or Smokers vs. Age.


Using the D3 create a scatter plot that represents each U.S. state with circle elements. You'll code this graphic in the app.js file.  Make sure you pull in the data from data.csv by using the d3.csv function. Your scatter plot should ultimately appear like the image at the top of this section.



  • Include U.S. state abbreviations in the circles.

  • Create and situate your axes and labels to the left and bottom of the chart.

  • Note: You'll need to use python -m http.server to run the visualization. This will host the page at localhost:8000 in your web browser.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here