4 Quadrant Scatter Plot D3 v4
This example shows a four-quadrant scatter plot of seven activities, each positioned by its value and consequence scores. The circles are colored according to which quadrant they fall into: teal for top-left, blue for top-right, orange for bottom-left, and purple for bottom-right. The plot uses d3.scaleLinear to map the data domain to the SVG canvas, with axis labels positioned using d3.axisBottom and d3.axisLeft. Data is loaded from a JSON file via d3.json, and the rendering uses SVG circles with a gray background rectangle.
AI-generated descriptionThis is a simple line graph demonstrating the addition of scatterplot points to a line graph. This was written using d3.js v4 and is a follow on to the simple graph example here.
This graph is part of the code samples for the update to the book D3 Tips and Tricks to version 4 of d3.js.
forked from <a href='http://bl.ocks.org/d3noob/'>d3noob</a>'s block: <a href='http://bl.ocks.org/d3noob/6f082f0e3b820b6bf68b78f2f7786084'>Scatterplot with v4</a>