This post follows the previous
basic bubble plot. It extends it,
adding the information of a fourth variable mapped to the bubble
color. Visit the
bubble plot section for more examples.
This example works with d3.js v4
and v6
scaleOrdinal()