Skip to main content
100%

React Starter

✓ Published1🌍 Public
NNita
Last edited Feb 28, 2020
Created on Feb 28, 2020
Forked from React Starter

This example renders four vertical rectangles as an SVG bar chart using React and ReactDOM. The bars have fixed x and y positions with widths and heights drawn from a static JavaScript array of numbers. The App component returns the SVG element directly, mapping over the data to generate each rect. The code relies on React 16.10 and renders the visualization into a root div via ReactDOM.render.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes