US Rainfall Part 9 — Plotting circle position based on data set
Previous Lessons
- Remove Characters from Beginning of JavaScript String
- Divide Large Data Set into Smaller Data Sets
- Handling Radio Buttons in D3.js
- Set Up SVG Viewport with D3.js
- D3.js Data Update Pattern
- D3.js Scales for x-Axis
- Use D3.js Data for x-coordinate Plotting
- Generate y-Axis with D3.js scaleLinear
Basic Pattern
- select
- data
- exit
- update
- enter
- append
You need to edit the update and enter steps.
Steps
Adjust yScale min and max
Adjust yScale min and max values of domain by 10.
Nevada is no longer covering the x-axis.
Next Lesson
D3.js Adjust Color and Style