<< back
Lab 4: Scatter Plot
Description
This is our first lab with d3 and we will be using d3 to manipulate DOM objects. In this lab you will be using d3 to create scatter plot.
Requirements
- Read in data using d3.csv()
- Create scatterplot by mapping "sleep" to the x-axis and "score" to the y-axis
- Scale the data elements using d3.scaleLinear()
- Add the x and y axes using d3.axisBottom() and d3.axisBottom() respectively
- Color circles based on "sex"
Dataset
datasetSubmission
Submit your work via Blackboard by Thursday February 16, 2017, 11:59pm (midnight). Use the naming convention: "Partner1-Partner2_l4"(e.g., AlvittaOttley-JoshLandman_l4).