React Starter - Array render test
✓ Published0🌍 Public
Four strings from a hardcoded array render as an SVG scatter plot, with each value appearing as a colored circle labeled by its corresponding text. The React component `Array` maps over the array, using a provided color scale to assign fills to circles positioned at fixed x and y offsets. The example demonstrates React’s declarative rendering with ReactDOM rendering an SVG group, translating coordinates, and using JSX to generate circle and text elements.
AI-generated descriptionReact Starter code.
MIT Licensed