CV: Pseudo Scatter Plot
✓ Published18🌍 Public
This visualization shows how a set of five data points can be drawn as circles on a scatter plot using predefined x and y coordinates and a fixed radius of 30 pixels. The React component App uses a ref to access its container’s dimensions, which are passed to a viz function that sets the SVG’s width and height. The core rendering is handled by D3’s selection API via select and the join method, where each circle’s cx and cy attributes are bound to the data values. The data source is a static JavaScript array, and the chart uses no scales or axes; instead, the coordinates are used directly.
AI-generated descriptionMIT Licensed