Scatterplot with Shapes
✓ Published0🌍 Public
Mmbostock
Last edited Dec 13, 2019
Created on Aug 3, 2012
This scatterplot displays five data points from a small CSV file, plotting x and y values on linearly scaled axes. The points are rendered as triangle-up SVG symbols, drawn with a steelblue fill and black stroke. Built with D3 v3, the code loads the CSV, coerces values to numbers, computes domains with `d3.extent`, and uses `d3.svg.axis` for the axes and `d3.svg.symbol` for the point shapes, positioning them via SVG `transform` attributes.
AI-generated descriptiongpl-3.0 Licensed