Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Javascript inside html

Public visualization

Javascript inside html

0 stars1🌍 Public
NNita
Last edited Feb 21, 2020
Created on Feb 21, 2020

This example shows ten magenta circles evenly spaced across an SVG canvas, with a fixed radius of 20 pixels and y-coordinate of 100. The circles are generated by mapping over a hardcoded array of integers from 0 to 10. React 16.10.0 renders the SVG elements declaratively, using ReactDOM to mount the component into the page’s root div. The code also logs computed list values to the console, though these do not affect the visual output.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed