Fork of CV: Pseudo Scatter Plot
✓ Published0🌍 Public
This example displays five circles at fixed (x, y) coordinates on a full-screen SVG, simulating a scatter plot. The circles are positioned according to a hard-coded dataset with varied y-values that decrease as x increases, creating a diagonal pattern. Built with React and D3 v7, the visualization uses d3-selection to bind data to circle elements and render them with a uniform radius of 30 pixels. The component measures its container’s dimensions and dynamically sets the SVG’s width and height to fill the viewport.
AI-generated descriptionMIT Licensed