Scott Murray provides an excellent overview of these fundamentals on his website, http://alignedleft.com/tutorials/d3/fundamentals. (time estimate: 10 minutes)
To learn the basics of HTML, CSS, and Javascript, we encourage you to work through Project 1 and Project 2 at https://dash.generalassemb.ly/. (time estimate: 10-20 hours)
Scott Murray also provides an excellent tutorial of creating a visualization using D3.js if you'd like to get a preview of what's to come in later lessons. (time estimate: 10-15 hours)
We try to re-create China's red circle. In 2015 China's
For converting data values to pixel values we use scales in d3js
note that the x scale is logarithmic while y scale is linear
When drawing circles you need to consider that using value as the radius of the circle causes the circle's area to be proportional to the square of the data instead of the data itself. This can cause your data to be exagerrated
area = pi * (r ^ 2)
r = sqrt(area / pi)
Mike Bostock's Let's Make a Bar Chart Tutorial.